From b4ee54b5804b8afb0387a36c913a2cd8cf595409 Mon Sep 17 00:00:00 2001 From: Matthew Lugg Date: Mon, 15 Dec 2025 17:07:50 +0000 Subject: std.Io: reimplement Mutex and Condition atop futex This work was partially cherry-picked from Andrew's WIP std.fs branch. However, I also analyzed and simplified the Mutex and Condition implementations, and brought them in line with modern Zig style. Co-authored-by: Andrew Kelley --- lib/std/Build/WebServer.zig | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'lib/std/Build/WebServer.zig') diff --git a/lib/std/Build/WebServer.zig b/lib/std/Build/WebServer.zig index 4d649e6f9b..2c865a8889 100644 --- a/lib/std/Build/WebServer.zig +++ b/lib/std/Build/WebServer.zig @@ -122,8 +122,8 @@ pub fn init(opts: Options) WebServer { .update_id = .init(0), .runner_request_mutex = .init, - .runner_request_ready_cond = .{}, - .runner_request_empty_cond = .{}, + .runner_request_ready_cond = .init, + .runner_request_empty_cond = .init, .runner_request = null, }; } -- cgit v1.2.3