I'm certainly not disagreeing with you, but my ASIO timer thread is
awoken every 3/4 of a millisecond by SetEvent. Could this be something
new to the tickless scheduler introduced in Windows 8? I'm testing
under Windows 10, but I haven't tried this under Windows 7.
All the best,
On 4/16/2018 12:19 PM, Tim Roberts wrote:
Mike Audet wrote:
It's my understanding that calling SetEvent from kernel mode wakes upThat's not the case, at least not literally. If you think about it,
the waiting thread immediately, without waiting for the next scheduler
SetEvent cannot possibly do that, because the kernel thread is still
running. All it can do is make the waiting thread "ready to run", plus
a tiny priority boost that makes the thread more likely to be chosen.