CmtGetCurrentThreadID
- Updated2023-02-21
- 1 minute(s) read
CmtGetCurrentThreadID
unsigned int CmtGetCurrentThreadID (void);
Purpose
Returns the ID of the current thread.
Parameters
None.
Return Value
Name | Type | Description |
currentThreadID | unsigned int | The id of the current thread. |
Additional Information
Library: Utility Library
Include file: utility.h
LabWindows/CVI compatibility: LabWindows/CVI 5.5 and later
Example
Refer to utility\threading\ThreadPool\MultiPanel\MultiPanel.cws for an example of using the CmtGetCurrentThreadID function.