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