LabWindows/CVI

Content Type
Programming Language
Current manual

ATTR_TP_FUNCTION_THREAD_HANDLE

ATTR_TP_FUNCTION_THREAD_HANDLE

Data Type: HANDLE
Description: This attribute specifies the thread handle of the thread that is executing or did execute the Thread Function. Do not call CloseHandle on this handle.

You can obtain the value of this attribute only while the Thread Function is executing or when the Thread Function has finished executing. Call CmtGetThreadPoolFunctionAttribute with the ATTR_TP_FUNCTION_EXECUTION_STATUS attribute to get the execution state of the function.
LabWindows/CVI
Compatibility:
LabWindows/CVI 5.5 and later
Was this information helpful?