News for hackers. Stuff that matters.
Re:Windows Timer Resolution: The Great Rule Change by dspillett on Monday October 05, 2020 @05:58AM (#24686164)
> I don't even get why you would Sleep() in such a scenario.

If you don't want two of the process running at once for any reason, a check-do-sleep loop can be easier to reason than debouncing an interrupt based approach. Less efficient, but often efficient enough especially if you are just throwing something together quickly with a view to if being PoC or a temporary utility.

There are no comments on this comment yet.