4 -- This line separates the #include lines from conditionals.
8 -- Abuse tls.h macros to derive offsets relative to the thread register.
9 # undef __thread_register
10 # define __thread_register ((void *) 0)
11 # define thread_offsetof(mem) ((void *) &THREAD_SELF->p_##mem - (void *) 0)
15 # define thread_offsetof(mem) offsetof (tcbhead_t, mem)
19 MULTIPLE_THREADS_OFFSET thread_offsetof (multiple_threads)