Re:Windows Timer Resolution: The Great Rule Change
by mehrdadn on Monday October 05, 2020 @06:54AM
(#24686457)
I think it's due to my use of APCs like I said. Try replacing SleepEx(100, TRUE) with WaitForSingleObject(handle, INFINITE).
Edit: Never mind. Seems it might not be the APCs. Maybe some callee of Sleep(Ex) is just rounding up the wait interval to a time slice somewhere. Not sure... would need some digging.
On 1809 same took about 1.3 seconds.
I'm at loss... Windows timers have yet again managed to do really weird, unexpected things.
I really hope this mess doesn't affect device drivers, or there could be a world of hurt coming up.