2002-12-28 22:19:04 +00:00
|
|
|
#include <sysdep.h>
|
|
|
|
#include <tls.h>
|
|
|
|
|
2003-06-08 05:28:14 +00:00
|
|
|
RESULT offsetof (struct pthread, result)
|
2003-06-05 19:31:57 +00:00
|
|
|
TID offsetof (struct pthread, tid)
|
2004-03-09 06:32:58 +00:00
|
|
|
PID offsetof (struct pthread, pid)
|
2003-06-08 05:28:14 +00:00
|
|
|
CANCELHANDLING offsetof (struct pthread, cancelhandling)
|
|
|
|
CLEANUP_JMP_BUF offsetof (struct pthread, cleanup_jmp_buf)
|
2003-03-02 07:49:51 +00:00
|
|
|
MULTIPLE_THREADS_OFFSET offsetof (tcbhead_t, multiple_threads)
|
|
|
|
SYSINFO_OFFSET offsetof (tcbhead_t, sysinfo)
|
|
|
|
CLEANUP offsetof (struct pthread, cleanup)
|
|
|
|
CLEANUP_PREV offsetof (struct _pthread_cleanup_buffer, __prev)
|
2003-05-26 02:47:39 +00:00
|
|
|
MUTEX_FUTEX offsetof (pthread_mutex_t, __data.__lock)
|
2005-12-18 06:58:22 +00:00
|
|
|
POINTER_GUARD offsetof (tcbhead_t, pointer_guard)
|
2007-05-23 20:51:45 +00:00
|
|
|
#ifndef __ASSUME_PRIVATE_FUTEX
|
|
|
|
PRIVATE_FUTEX offsetof (tcbhead_t, private_futex)
|
|
|
|
#endif
|