LabWindows/CVI

Content Type
Programming Language
Current manual

MainThreadId

MainThreadId

int MainThreadId (void);

Purpose

Note 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

Was this information helpful?