LabWindows/CVI

cancel
Showing results for 
Search instead for 
Did you mean: 

Can resume a thread which was terminated in the past ?

If using �CmtExitThreadPoolThread (0)� to terminate a thread , could it resume again ?

David
0 Kudos
Message 1 of 2
(3,093 Views)
Because CmtExitThreadPoolThread is often used to terminate a thread when an error occurs, you do not have the option to resume since the thread is returned (in idle state) to the thread pool so it can execute other functions. So you will need to reschedule the thread to execute a particular function once more.

Regards,
Azucena
NI
0 Kudos
Message 2 of 2
(3,093 Views)