2003-03-12 20:03:07 +00:00
|
|
|
#include <sysdep.h>
|
|
|
|
#include <tls.h>
|
2014-06-20 23:24:00 +00:00
|
|
|
#include <kernel-features.h>
|
2003-03-12 20:03:07 +00:00
|
|
|
|
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)
|
2003-06-08 05:28:14 +00:00
|
|
|
CANCELHANDLING offsetof (struct pthread, cancelhandling)
|
|
|
|
CLEANUP_JMP_BUF offsetof (struct pthread, cleanup_jmp_buf)
|
2003-03-12 20:03:07 +00:00
|
|
|
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)
|
2003-06-17 08:58:31 +00:00
|
|
|
MULTIPLE_THREADS_OFFSET offsetof (tcbhead_t, multiple_threads)
|
2005-12-18 06:58:22 +00:00
|
|
|
POINTER_GUARD offsetof (tcbhead_t, pointer_guard)
|
2007-04-26 04:50:57 +00:00
|
|
|
VGETCPU_CACHE_OFFSET offsetof (tcbhead_t, vgetcpu_cache)
|
2018-07-14 12:53:05 +00:00
|
|
|
FEATURE_1_OFFSET offsetof (tcbhead_t, feature_1)
|
2018-07-25 11:39:26 +00:00
|
|
|
SSP_BASE_OFFSET offsetof (tcbhead_t, ssp_base)
|
2009-08-04 18:03:46 +00:00
|
|
|
|
|
|
|
-- Not strictly offsets, but these values are also used in the TCB.
|
|
|
|
TCB_CANCELED_BITMASK CANCELED_BITMASK
|