3 #include <kernel-features.h>
5 RESULT offsetof (struct pthread, result)
6 TID offsetof (struct pthread, tid)
7 PID offsetof (struct pthread, pid)
8 CANCELHANDLING offsetof (struct pthread, cancelhandling)
9 CLEANUP_JMP_BUF offsetof (struct pthread, cleanup_jmp_buf)
10 MULTIPLE_THREADS_OFFSET offsetof (tcbhead_t, multiple_threads)
11 SYSINFO_OFFSET offsetof (tcbhead_t, sysinfo)
12 CLEANUP offsetof (struct pthread, cleanup)
13 CLEANUP_PREV offsetof (struct _pthread_cleanup_buffer, __prev)
14 MUTEX_FUTEX offsetof (pthread_mutex_t, __data.__lock)
15 POINTER_GUARD offsetof (tcbhead_t, pointer_guard)
16 #ifndef __ASSUME_PRIVATE_FUTEX
17 PRIVATE_FUTEX offsetof (tcbhead_t, private_futex)