2 ms·
As a matter of fact, I think he actually answered the question: https://devblogs.microsoft.com/oldnewthing/?p=36423 https://devblogs.microsoft.com/oldnewthing/
by rwbaskette 7y ago
As a matter of fact, I think he actually answered the question:
https://devblogs.microsoft.com/oldnewthing/?p=36423 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.“