summaryrefslogtreecommitdiff
path: root/libpthread/nptl/sysdeps/sh/tcb-offsets.sym
blob: 852b5cc26ce15834c8acd6eda1d781452fc55263 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
#include <sysdep.h>
#include <tls.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)
MULTIPLE_THREADS_OFFSET	offsetof (struct pthread, header.multiple_threads)
TLS_PRE_TCB_SIZE	sizeof (struct pthread)
MUTEX_FUTEX		offsetof (pthread_mutex_t, __data.__lock)
POINTER_GUARD		offsetof (tcbhead_t, pointer_guard)
#ifndef __ASSUME_PRIVATE_FUTEX
PRIVATE_FUTEX		offsetof (struct pthread, header.private_futex)
#endif