authorgravatar for reversedrooms@gmail.comxeondev <reversedrooms@gmail.com> 2026-03-04 13:15:06+03:00
committergravatar for andrew@ziglang.orgAndrew Kelley <andrew@ziglang.org> 2026-03-05 20:17:21+01:00
log15f0af09d0ba8e8a6a7b44702913ca309afe2296
treecb8e894449dbc58835c497ca523e3dd9dbbc15e1
parentb778826df5836a4383e06e7434012e9a91a510ba

Io.Threaded.batchAwaitConcurrent: fix poll args


1 files changed, 1 insertions(+), 1 deletions(-)

lib/std/Io/Threaded.zig+1-1
......@@ -2868,7 +2868,7 @@ fn batchAwaitConcurrent(userdata: ?*anyopaque, b: *Io.Batch, timeout: Io.Timeout
28682868 break :t @min(@max(0, duration.raw.toMilliseconds()), std.math.maxInt(i32));
28692869 };
28702870 const syscall = try Syscall.start();
2871 const rc = posix.system.poll(&poll_buffer, poll_storage.len, timeout_ms);
2871 const rc = posix.system.poll(poll_storage.slice.ptr, poll_storage.len, timeout_ms);
28722872 syscall.finish();
28732873 switch (posix.errno(rc)) {
28742874 .SUCCESS => {