Admin Production ni-theme
Current Publication

ATTR_TP_PROCESS_EVENTS_WHILE_WAITING

LabWindows/CVI

ATTR_TP_PROCESS_EVENTS_WHILE_WAITING

Data Type: integer
Description: This attribute specifies whether the threads in the pool process events while they are idle. Any thread that creates a panel or window and does not destroy it must process events while it is idle. Failure to do so could cause the system to hang.

NOTE: It is not always obvious when a window is created. Various LabWindows/CVI and Windows SDK functions create hidden windows. For example, the operating system uses hidden windows to communicate between certain kinds of ActiveX servers and clients.

You cannot set this attribute after the first thread in the pool has been created by a call to CmtScheduleThreadPoolFunction, CmtScheduleThreadPoolFunctionAdv, or CmtPreAllocThreadPoolThreads.
Values:
FALSE (0)False
TRUE (1)True
LabWindows/CVI
Compatibility:
LabWindows/CVI 5.5 and later