mirror of
https://sourceware.org/git/glibc.git
synced 2024-11-26 23:10:06 +00:00
17fd707f88
All cancellable syscalls are done by C implementations, so there is no no need to use a specialized implementation to optimize register usage. It fixes BZ #25765. Checked on x86_64-linux-gnu.
20 lines
805 B
Plaintext
20 lines
805 B
Plaintext
#include <sysdep.h>
|
|
#include <tls.h>
|
|
#include <kernel-features.h>
|
|
|
|
RESULT offsetof (struct pthread, result)
|
|
TID offsetof (struct pthread, tid)
|
|
CANCELHANDLING offsetof (struct pthread, cancelhandling)
|
|
CLEANUP_JMP_BUF offsetof (struct pthread, cleanup_jmp_buf)
|
|
CLEANUP offsetof (struct pthread, cleanup)
|
|
CLEANUP_PREV offsetof (struct _pthread_cleanup_buffer, __prev)
|
|
MUTEX_FUTEX offsetof (pthread_mutex_t, __data.__lock)
|
|
MULTIPLE_THREADS_OFFSET offsetof (tcbhead_t, multiple_threads)
|
|
POINTER_GUARD offsetof (tcbhead_t, pointer_guard)
|
|
VGETCPU_CACHE_OFFSET offsetof (tcbhead_t, vgetcpu_cache)
|
|
FEATURE_1_OFFSET offsetof (tcbhead_t, feature_1)
|
|
SSP_BASE_OFFSET offsetof (tcbhead_t, ssp_base)
|
|
|
|
-- Not strictly offsets, but these values are also used in the TCB.
|
|
TCB_CANCELED_BITMASK CANCELED_BITMASK
|