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 (tcbhead_t, multiple_threads)
10 SYSINFO_OFFSET offsetof (tcbhead_t, sysinfo)
11 CLEANUP offsetof (struct pthread, cleanup)
12 CLEANUP_PREV offsetof (struct _pthread_cleanup_buffer, __prev)
13 MUTEX_FUTEX offsetof (pthread_mutex_t, __data.__lock)
14 POINTER_GUARD offsetof (tcbhead_t, pointer_guard)
15 FEATURE_1_OFFSET offsetof (tcbhead_t, feature_1)