2003-02-10 09:24:12 +00:00
|
|
|
#include <sysdep.h>
|
|
|
|
#include <tls.h>
|
|
|
|
|
2003-07-12 01:29:23 +00:00
|
|
|
RESULT offsetof (struct pthread, result)
|
|
|
|
TID offsetof (struct pthread, tid)
|
2004-03-11 16:06:03 +00:00
|
|
|
PID offsetof (struct pthread, pid)
|
2003-07-12 01:29:23 +00:00
|
|
|
CANCELHANDLING offsetof (struct pthread, cancelhandling)
|
|
|
|
CLEANUP_JMP_BUF offsetof (struct pthread, cleanup_jmp_buf)
|
|
|
|
MULTIPLE_THREADS_OFFSET offsetof (struct pthread, header.multiple_threads)
|
|
|
|
TLS_PRE_TCB_SIZE sizeof (struct pthread)
|
|
|
|
MUTEX_FUTEX offsetof (pthread_mutex_t, __data.__lock)
|
2005-12-20 15:28:51 +00:00
|
|
|
POINTER_GUARD offsetof (tcbhead_t, pointer_guard)
|
2007-06-17 16:42:55 +00:00
|
|
|
#ifndef __ASSUME_PRIVATE_FUTEX
|
|
|
|
PRIVATE_FUTEX offsetof (struct pthread, header.private_futex)
|
|
|
|
#endif
|