tcb-offsets.sym 596 B

123456789101112131415
  1. #include <sysdep.h>
  2. #include <tls.h>
  3. RESULT offsetof (struct pthread, result)
  4. TID offsetof (struct pthread, tid)
  5. PID offsetof (struct pthread, pid)
  6. CANCELHANDLING offsetof (struct pthread, cancelhandling)
  7. CLEANUP_JMP_BUF offsetof (struct pthread, cleanup_jmp_buf)
  8. MULTIPLE_THREADS_OFFSET offsetof (struct pthread, header.multiple_threads)
  9. TLS_PRE_TCB_SIZE sizeof (struct pthread)
  10. MUTEX_FUTEX offsetof (pthread_mutex_t, __data.__lock)
  11. POINTER_GUARD offsetof (tcbhead_t, pointer_guard)
  12. #ifndef __ASSUME_PRIVATE_FUTEX
  13. PRIVATE_FUTEX offsetof (struct pthread, header.private_futex)
  14. #endif