| author | |
| committer | |
| log | a0414012568028cd26a118c47be58940e10e2d95 |
| tree | 1da29512b4510637541d39e506e96c93bc86b9cb |
| parent | 3a3576da60e8e092297af48f022a0a3fe629fa6a |
1 files changed, 1 insertions(+), 1 deletions(-)
lib/std/Thread/Futex.zig+1-1| ... | ... | @@ -198,7 +198,7 @@ const DarwinFutex = struct { |
| 198 | 198 | // true so that we we know to ignore the ETIMEDOUT result. |
| 199 | 199 | var timeout_overflowed = false; |
| 200 | 200 | const status = blk: { |
| 201 | if (target.os.version_range.semver.max.major >= 11) { | |
| 201 | if (target.os.version_range.semver.min.major >= 11) { | |
| 202 | 202 | break :blk darwin.__ulock_wait2(flags, addr, expect, timeout_ns, 0); |
| 203 | 203 | } else { |
| 204 | 204 | const timeout_us = std.math.cast(u32, timeout_ns / std.time.ns_per_us) catch overflow: { |