03-17-2017 05:02 PM
Hi,
I am new to LabWindows/CVI, so bare with me
I was looking at NewAsyncTimers and looked through some previous topics which all state that the async timer callbacks are all executed on the same thread, with the priority of that thread set to THREAD_PRIORITY_HIGHEST.
Does this also apply to NewAsyncTimersWithPriority? Suppose I start multiple async timers with this, and set each timer to a different priority, do they all still run on the same thread?
Thanks in advance
03-20-2017 01:01 PM
According to the following manual, all asynchronous callback functions share a common thread.
NewAsyncTimerWithPriority
03-20-2017 03:18 PM
Thanks Maggie, now as a follow up to that, how are the varying priorities implemented within a single thread?
03-20-2017 05:39 PM
There are two conflicting aspects in this command :
I don't know has they are implemented in a RT OS, but I see no reason why they couldn't be running in separate threads, each with its own priority. But in any case they cannot be used on Windows.