3 #include <kernel-features.h>
5 RESULT offsetof (struct pthread, result)
6 TID offsetof (struct pthread, tid)
7 CANCELHANDLING offsetof (struct pthread, cancelhandling)
8 CLEANUP_JMP_BUF offsetof (struct pthread, cleanup_jmp_buf)
9 MULTIPLE_THREADS_OFFSET offsetof (struct pthread, header.multiple_threads)
10 TLS_PRE_TCB_SIZE sizeof (struct pthread)
11 MUTEX_FUTEX offsetof (pthread_mutex_t, __data.__lock)
12 POINTER_GUARD offsetof (tcbhead_t, pointer_guard)
13 #ifndef __ASSUME_PRIVATE_FUTEX
14 PRIVATE_FUTEX offsetof (struct pthread, header.private_futex)