Re:Windows Timer Resolution: The Great Rule Change
by vardump on Monday October 05, 2020 @05:40AM
(#24686037)
> things like using WaitForSingleObject if you need accurate Sleep
You won't get any more timing accuracy with WFSO.
In my opinion this still remains the conclusion, as it has been for the past decades. I cannot remember when I read a bit on Sleep() behavior and timeBeginPeriod() but I remember that what I read was enough to make clear you just shouldn't rely on these (unless you're 100% sure the consequences are within your spec and will remain so), also not because the workarounds are also widely known (IIRC - things like using WaitForSingleObject if you need accurate Sleep).