?? tcb-offsets.sym
字號:
#include <sysdep.h>#include <tls.h>---- Abuse tls.h macros to derive offsets relative to the thread register.# undef __thread_register# define __thread_register ((void *) 0)# define thread_offsetof(mem) ((ptrdiff_t) THREAD_SELF + offsetof (struct pthread, mem))#if TLS_MULTIPLE_THREADS_IN_TCBMULTIPLE_THREADS_OFFSET thread_offsetof (header.multiple_threads)#endifPID thread_offsetof (pid)TID thread_offsetof (tid)POINTER_GUARD (offsetof (tcbhead_t, pointer_guard) - TLS_TCB_OFFSET - sizeof (tcbhead_t))
?? 快捷鍵說明
復(fù)制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號
Ctrl + =
減小字號
Ctrl + -