MainThreadId
- Updated2023-02-21
- 1 minute(s) read
MainThreadId
int MainThreadId (void);
Purpose
![]() |
Note This function has been superseded by CmtGetMainThreadID. |
Returns the ID of the main thread of the program.
Parameters
None.
Return Value
Name | Type | Description |
mainThreadId | int | The ID of the main thread of the program. |
Additional Information
Library: Utility Library
Include file: utility.h
LabWindows/CVI compatibility: LabWindows/CVI 5.0 and later