I have a DLL that uses the CMT-functions for multithreading.
In order to monitor the thread handling I use Taskinfo.
The DLL is called in TestStand and shows a popup panel in a new thread(CVI thread). In TaskInfo I can identify the thread by threadId or window name (caption name).
As soon as I close the thread TaskInfo changes the window name to "class:CVIRTLVFrame4194304". Why?
The thread seams to continue running (State=WaitUser) with that new name until I close TestStand.
If I start the sequence again the number of threads in TaskInfo increases until 6 threads called "class:CVIRTLVFrame4194304" run. At the 7th run of the sequence the first thread called "class:CVIRTLVFrame4194304" is replaced, so that there are no more than 6 threads called "class:CVI...."
Why is this behaviour?
What happens to the thread? Is it still running or is it closed and only waits for the CVI RTE to be closed??