1 2 3 4
#include <sysdep.h> #include <tls.h> MULTIPLE_THREADS_OFFSET offsetof (struct pthread, multiple_threads) - sizeof (struct pthread)