GetCurrentThreadId
GetCurrentThreadId returns the thread identifier of the calling thread.
Syntax
DWORD GetCurrentThreadId(VOID);
Parameters
This function has no parameters.
Return Value
The thread identifier of the calling thread.
Remarks
Until the thread terminates, the thread identifier uniquely identifies the thread throughout the system.
Requirements
| Minimum supported version | Header | Library |
|---|---|---|
|
wRTOS 1.0 SDK |
windows.h |
wRTOS_rtss.lib |
See Also: