GetCurrentThreadId
GetCurrentThreadId returns the thread identifier of the calling thread.
Syntax
Copy
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 |
---|---|---|
eRTOS 1.0 SDK |
windows.h | rtkrnl.lib |
See Also: