PinCRT
Functions
Threads database

Functions

VOID OS_DeregisterThread (NATIVE_TID ntid)
 
VOID OS_DeregisterCurrentThread (void)
 

Detailed Description

Function Documentation

◆ OS_DeregisterCurrentThread()

VOID OS_DeregisterCurrentThread ( void  )

Deregister the current thread from the threads database and release all the resources used to track this thread (including TLS).

Availability:
  • O/S: Windows, Linux & macOS*
  • CPU: All

◆ OS_DeregisterThread()

VOID OS_DeregisterThread ( NATIVE_TID  ntid)

Deregister a thread from the threads database and release all the resources used to track this thread (including TLS).

Parameters
[in]ntidOS thread ID of the thread to deregister.
Availability:
  • O/S: Windows, Linux & macOS*
  • CPU: All