GetThreadID

Returns the thread ID of the currently executing thread

Local Servers:nonblocking
Remote Servers:N/A
Classification:3.x, 4.x, 5.x, 6.x
Service:Thread

Syntax

  #include <nwthread.h>  
   
  int GetThreadID  (void); 
  

Return Values

The thread ID is returned.

Remarks

This function is used to get a thread ID for those functions which require a thread ID.

See Also

GetNLMID, GetThreadGroupID, SuspendThread