authorgravatar for alex@alexrp.comAlex Rønne Petersen <alex@alexrp.com> 2025-11-01 16:18:11+01:00
committergravatar for alex@alexrp.comAlex Rønne Petersen <alex@alexrp.com> 2025-11-01 16:18:56+01:00
log5db9eaa8516600425d5d1b9aab0f9a9dbf235cd5
tree4250e31aac60dcadea856e0227f7222ae63f41ff
parenta8fea09cd59601bf2eb84643291be196c4ef2a2f
signaturebadge-check Signed by SSH key SHA256:7B/LJ7bpR1eX8aCXSr4mtd5M45VMPKcx9zY8e95b5QM

std.Io.Threaded: use ResetEventPosix on illumos

Like NetBSD, illumos has no futexes. ref #25760

1 files changed, 1 insertions(+), 1 deletions(-)

lib/std/Io/Threaded.zig+1-1
......@@ -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.
59005900pub const ResetEvent = switch (native_os) {
5901 .netbsd => ResetEventPosix,
5901 .illumos, .netbsd => ResetEventPosix,
59025902 else => ResetEventFutex,
59035903};
59045904