mirror of
https://codeberg.org/ziglang/zig.git
synced 2026-04-27 19:09:47 +03:00
4431ca28b8
Address two separate but related issues: - Return value of `RtlQueryPerformanceFrequency` was used inconsistently; it returns a nonzero value to indicate success. - `timeoutToWindowsInterval` wasn't converting absolute deadlines back to the Windows epoch before passing them to the system, which meant that values (in the Unix epoch) were always in the distant past, so sleeps would return immediately. Fixes #31653