1 2 3 4 5 6 7 8 9 10
#include "pthread_impl.h" int __set_thread_area(void *p) { #ifdef SYS_set_thread_area return __syscall(SYS_set_thread_area, p); #else return -ENOSYS; #endif }