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 22:03:13-08:00
loge0d06b40e3681cc9aad09764987d079fb0f9e0fa
tree1530b7bf2224b67778651f85dab5e05b35a9d493
parent6a7fe61d74f80456b32cb46ef21715bbffaf49a7

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 {