tcb-offsets.sym 264 B

123456
  1. #include <sysdep.h>
  2. #include <tls.h>
  3. MULTIPLE_THREADS_OFFSET offsetof (struct pthread, header.multiple_threads)
  4. TID_OFFSET offsetof (struct pthread, tid)
  5. TP_TO_PTHREAD_OFFSET -(sizeof (struct pthread) + sizeof (tcbhead_t))