1 2 3 4 5
#include <sysdep.h> #include <tls.h> MULTIPLE_THREADS_OFFSET ((char *) &p_multiple_threads ((struct pthread *)0) - (char *) 0) TLS_PRE_TCB_SIZE sizeof (struct pthread)