authorgravatar for andrew@ziglang.orgAndrew Kelley <andrew@ziglang.org> 2026-01-08 15:20:21-08:00
committergravatar for andrew@ziglang.orgAndrew Kelley <andrew@ziglang.org> 2026-01-30 12:10:01-08:00
log3ef1266582115baac5fa1ca299092140f7574684
tree6839f91a69f20edb668eac7d52b9be94016e267c
parent24b3c4cec1781768d548ee7edadd3543e83a995c

std.Io.Threaded: set poll_buffer_len to 32

reasoning is that polling with large amount of operations will be rarely done with std.Io.Threaded. However this still provides the opportunity to provide concurrency for any real world use cases that need it.

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

lib/std/Io/Threaded.zig+1-1
...@@ -1323,7 +1323,7 @@ fn waitForApcOrAlert() void {...@@ -1323,7 +1323,7 @@ fn waitForApcOrAlert() void {
13231323
1324const max_iovecs_len = 8;1324const max_iovecs_len = 8;
1325const splat_buffer_size = 64;1325const splat_buffer_size = 64;
1326const poll_buffer_len = 100;1326const poll_buffer_len = 32;
1327const default_PATH = "/usr/local/bin:/bin/:/usr/bin";1327const default_PATH = "/usr/local/bin:/bin/:/usr/bin";
13281328
1329comptime {1329comptime {