1#include <sysdep.h>
2#include <tls.h>
3#include <kernel-features.h>
4
5RESULT			offsetof (struct pthread, result)
6TID			offsetof (struct pthread, tid)
7CANCELHANDLING		offsetof (struct pthread, cancelhandling)
8CLEANUP_JMP_BUF		offsetof (struct pthread, cleanup_jmp_buf)
9CLEANUP			offsetof (struct pthread, cleanup)
10CLEANUP_PREV		offsetof (struct _pthread_cleanup_buffer, __prev)
11MUTEX_FUTEX		offsetof (pthread_mutex_t, __data.__lock)
12MULTIPLE_THREADS_OFFSET	offsetof (tcbhead_t, multiple_threads)
13POINTER_GUARD		offsetof (tcbhead_t, pointer_guard)
14FEATURE_1_OFFSET	offsetof (tcbhead_t, feature_1)
15SSP_BASE_OFFSET		offsetof (tcbhead_t, ssp_base)
16
17-- Not strictly offsets, but these values are also used in the TCB.
18TCB_CANCELED_BITMASK	 CANCELED_BITMASK
19