[wdmaudiodev] Re: PcAddStreamResource IRQ question

  • From: Mike Audet <mike@xxxxxxxxxxxxx>
  • To: wdmaudiodev@xxxxxxxxxxxxx
  • Date: Mon, 16 Apr 2018 17:25:53 -0400

Hi Tim,

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,

Mike



On 4/16/2018 12:19 PM, Tim Roberts wrote:

Mike Audet wrote:
It's my understanding that calling SetEvent from kernel mode wakes up
the waiting thread immediately, without waiting for the next scheduler
slot.  
That's not the case, at least not literally.  If you think about it,
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.


******************

WDMAUDIODEV addresses:
Post message: mailto:wdmaudiodev@xxxxxxxxxxxxx
Subscribe:    mailto:wdmaudiodev-request@xxxxxxxxxxxxx?subject=subscribe
Unsubscribe:  mailto:wdmaudiodev-request@xxxxxxxxxxxxx?subject=unsubscribe
Moderator:    mailto:wdmaudiodev-moderators@xxxxxxxxxxxxx

URL to WDMAUDIODEV page:
http://www.wdmaudiodev.com/

Other related posts: