mirror of
https://git.eden-emu.dev/eden-emu/eden
synced 2026-10-20 16:47:25 -04:00
bff1453282
The precision of sleep_for and wait_for is limited to 1-1.5ms on Windows. Using SleepForOneTick() allows us to sleep for exactly one interval of the current timer resolution. This allows us to take advantage of systems that have a timer resolution of 0.5ms to reduce CPU overhead in the event loop.