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 (struct pthread, header.multiple_threads)
9TLS_PRE_TCB_SIZE	sizeof (struct pthread)
10MUTEX_FUTEX		offsetof (pthread_mutex_t, __data.__lock)
11POINTER_GUARD		offsetof (tcbhead_t, pointer_guard)
12#ifndef __ASSUME_PRIVATE_FUTEX
13PRIVATE_FUTEX		offsetof (struct pthread, header.private_futex)
14#endif
15