From 5db9eaa8516600425d5d1b9aab0f9a9dbf235cd5 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Alex=20R=C3=B8nne=20Petersen?= Date: Sat, 1 Nov 2025 16:18:11 +0100 Subject: [PATCH] std.Io.Threaded: use ResetEventPosix on illumos Like NetBSD, illumos has no futexes. ref #25760 --- lib/std/Io/Threaded.zig | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/std/Io/Threaded.zig b/lib/std/Io/Threaded.zig index ae89b4b20a..c8101c19a4 100644 --- a/lib/std/Io/Threaded.zig +++ b/lib/std/Io/Threaded.zig @@ -5898,7 +5898,7 @@ pub fn futexWake(ptr: *const std.atomic.Value(u32), max_waiters: u32) void { /// It can also block threads until the value is set with cancelation via timed /// waits. Statically initializable; four bytes on all targets. pub const ResetEvent = switch (native_os) { - .netbsd => ResetEventPosix, + .illumos, .netbsd => ResetEventPosix, else => ResetEventFutex, };