LabWindows/CVI

cancel
Showing results for 
Search instead for 
Did you mean: 

how to create timer in thread which will run even thread is in delay() or in sleep

i have created a multi thread application using win 32 sdk functions. in my main thread i want to receive all my chaid threads health. child thread timer shoud be created in child thread and it should execute in child thread only. my child threads will be 1.in continuous processing loop for some time and then it will be in sleep() or Delay() or WaitForMultiPleObjectEx();i have created timers using settimer() and waitableTimer();functions in WinNt. but Timer is not executing in sleep() or Delay() time.But i have created WaitOrTimerCallBack in Windows2000 which is working fine for all conditions. please help me, How i can solve in Win NT. thank you . Lakshmi
0 Kudos
Message 1 of 2
(3,386 Views)
Somewhere in the CVI documentation I have seen a reference to a Win32 "multi-media" timer. A multi-media timer supposedly executes on a separate, system thread, and as such should keep on ticking even if the thread that created it is asleep. Not sure if these are available in NT.
0 Kudos
Message 2 of 2
(3,386 Views)