1 2 3 4 5 6
#include <sysdep.h> #include <tls.h> SELF offsetof (tcbhead_t, self) CLEANUP offsetof (struct pthread, cleanup) CLEANUP_PREV offsetof (struct _pthread_cleanup_buffer, __prev)