Skip to content

Commit 5db9eaa

Browse files
committed
std.Io.Threaded: use ResetEventPosix on illumos
Like NetBSD, illumos has no futexes. ref #25760
1 parent a8fea09 commit 5db9eaa

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/std/Io/Threaded.zig

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5898,7 +5898,7 @@ pub fn futexWake(ptr: *const std.atomic.Value(u32), max_waiters: u32) void {
58985898
/// It can also block threads until the value is set with cancelation via timed
58995899
/// waits. Statically initializable; four bytes on all targets.
59005900
pub const ResetEvent = switch (native_os) {
5901-
.netbsd => ResetEventPosix,
5901+
.illumos, .netbsd => ResetEventPosix,
59025902
else => ResetEventFutex,
59035903
};
59045904

0 commit comments

Comments
 (0)