diff options
| author | Matthew Lugg <mlugg@mlugg.co.uk> | 2025-12-15 17:07:50 +0000 |
|---|---|---|
| committer | Matthew Lugg <mlugg@mlugg.co.uk> | 2025-12-21 13:07:03 +0000 |
| commit | b4ee54b5804b8afb0387a36c913a2cd8cf595409 (patch) | |
| tree | ee9dd3e02280bdf424772f097b1fb917bdd89eef /lib/std/Build/Fuzz.zig | |
| parent | 6ed5b620507aa4589d6c6fe3a5e48e166d48b3d2 (diff) | |
| download | zig-b4ee54b5804b8afb0387a36c913a2cd8cf595409.tar.gz zig-b4ee54b5804b8afb0387a36c913a2cd8cf595409.zip | |
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 <andrew@ziglang.org>
Diffstat (limited to 'lib/std/Build/Fuzz.zig')
| -rw-r--r-- | lib/std/Build/Fuzz.zig | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/std/Build/Fuzz.zig b/lib/std/Build/Fuzz.zig index bb4a960a73..2897b29969 100644 --- a/lib/std/Build/Fuzz.zig +++ b/lib/std/Build/Fuzz.zig @@ -124,7 +124,7 @@ pub fn init( .coverage_files = .empty, .coverage_mutex = .init, .queue_mutex = .init, - .queue_cond = .{}, + .queue_cond = .init, .msg_queue = .empty, }; } |
