Hacker News new | ask | show | jobs
by rwbaskette 2545 days ago
As a matter of fact, I think he actually answered the question:

https://devblogs.microsoft.com/oldnewthing/?p=36423

“One danger of the MsgWaitForMultipleObjects function is calling it when there are already messages waiting to be processed, because MsgWaitForMultipleObjects returns only when there is a new event in the queue.“