| ... | @@ -596,8 +596,8 @@ fn waitForOtherThreadToFinishPanicking() void { | ... | @@ -596,8 +596,8 @@ fn waitForOtherThreadToFinishPanicking() void { |
| 596 | if (builtin.single_threaded) unreachable; | 596 | if (builtin.single_threaded) unreachable; |
| 597 | | 597 | |
| 598 | // Sleep forever without hammering the CPU | 598 | // Sleep forever without hammering the CPU |
| 599 | var futex = std.atomic.Value(u32).init(0); | 599 | var futex: u32 = 0; |
| 600 | while (true) std.Thread.Futex.wait(&futex, 0); | 600 | while (true) std.Options.debug_io.futexWaitUncancelable(u32, &futex, 0); |
| 601 | unreachable; | 601 | unreachable; |
| 602 | } | 602 | } |
| 603 | } | 603 | } |