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