LabWindows/CVI

Content Type
Programming Language
Current manual

CmtGetCurrentThreadID

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.

Was this information helpful?