Typedefs | |
typedef VOID(* | TLS_DESTRUCTOR )(VOID *) |
typedef ADDRINT | PIN_TLS_INDEX |
Functions | |
VOID * | OS_TlsGetBaseAddress () |
PIN_TLS_INDEX | OS_TlsAlloc (TLS_DESTRUCTOR dest) |
BOOL_T | OS_TlsFree (PIN_TLS_INDEX idx) |
VOID * | OS_TlsGetValue (PIN_TLS_INDEX idx) |
VOID * | OS_TlsGetValueForThread (PIN_TLS_INDEX idx, NATIVE_TID ntid) |
VOID ** | OS_TlsGetArrayAddress (void) |
VOID ** | OS_TlsGetArrayAddressForThread (NATIVE_TID ntid) |
BOOL_T | OS_TlsSetValue (PIN_TLS_INDEX idx, VOID *val) |
BOOL_T | OS_TlsSetValueForThread (PIN_TLS_INDEX idx, NATIVE_TID ntid, VOID *val) |
VOID | OS_TlsFreeThreadTls (NATIVE_TID ntid) |
BOOL_T | OS_TlsAddStaticTlsDestructor (TLS_DESTRUCTOR destructor) |
|
Type for index inside the dynamic TLS. |
|
Prototype for TLS value desctructor function. The only argument for this function is the value stored in TLS. |
|
Add a destructor for all threads' static TLS. The destructor for static TLS is called on each thread termination, provided that the thread had an allocated static TLS.
|
|
Allocates a new slot in the dynamic TLS.
|
|
Free a previously allocated slot in the dynamic TLS.
|
|
Free all resources that are used for a particular thread's TLS. This function is usually called when a thread is about to exit.
|
|
Return the address of the static TLS for the current thread
|
|
Return the address of the static TLS for a particular thread
|
|
Return the base address for the application-wide TLS data structure. The TLS data structure is used to implement a TLS which is not based on segment registers.
|
|
Get the value associated with a particular index from the current thread's dynamic TLS.
|
|
Get the value associated with a particular index of a particular thread's dynamic TLS.
|
|
Set the value associated with a particular index in the current thread's dynamic TLS.
|
|
Set the value associated with a particular index in of a particular thread's dynamic TLS.
|