0
Fork 0
mirror of https://codeberg.org/ziglang/zig synced 2026-11-18 07:05:05 +00:00
zig/lib/std/Io
Jake Greenfield 4431ca28b8 fix Windows clock handling
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
History 2026-03-24 21:33:27 -04:00
..
File std: finish moving time to Io interface 2026-02-02 23:02:31 -08:00
net std.Io.net.HostName.netLookup: make canonical_name_buffer optional 2026-03-23 11:02:47 +01:00
Reader Fix Reader.Limited end of stream conditions 2025-10-08 17:24:38 -07:00
Threaded remove various workarounds for issues that are now fixed (#31567) 2026-03-20 19:58:33 +01:00
Dir.zig std.posix: Minimal set to build an Io on PSP 2026-03-21 06:34:45 -04:00
Dispatch.zig std.Io.Threaded: windows networking without ws2_32 2026-03-18 20:13:59 -04:00
fiber.zig minimal 2026-02-20 05:34:54 +01:00
File.zig IoUring: update to new Io APIs 2026-02-09 10:47:21 -05:00
Kqueue.zig std.Io.Threaded: windows networking without ws2_32 2026-03-18 20:13:59 -04:00
net.zig std.Io.Threaded: windows networking without ws2_32 2026-03-18 20:13:59 -04:00
Reader.zig std.Io.Threaded: windows networking without ws2_32 2026-03-18 20:13:59 -04:00
RwLock.zig add cancelable rwlock functions (#31497) 2026-03-16 23:05:00 +01:00
Semaphore.zig std.Io: add RwLock and Semaphore sync primitives 2026-02-02 20:18:14 -08:00
Terminal.zig std.Threaded: replace console kernel32 functions with ntdll 2026-02-05 07:41:25 -05:00
test.zig std.Io: fix Select cancel deadlock with no tasks 2026-03-03 02:26:23 +01:00
Threaded.zig fix Windows clock handling 2026-03-24 21:33:27 -04:00
Uring.zig Io.Uring: simplify openat error handling 2026-03-20 12:18:25 -07:00
Writer.zig std.Io.Writer: document write and writeAll 2026-03-09 21:24:59 -07:00