tcb-offsets.sym 288 B

12345678910
  1. #include <sysdep.h>
  2. #include <tls.h>
  3. --
  4. -- Derive offsets relative to the thread register.
  5. #define thread_offsetof(mem) (long)(offsetof(struct pthread, mem) - sizeof(struct pthread))
  6. MULTIPLE_THREADS_OFFSET thread_offsetof (header.multiple_threads)
  7. TID_OFFSET thread_offsetof (tid)