| author | |
| committer | |
| log | 2c7d3c8007dcc8e46c91e92e1d2676af87d1fbcc |
| tree | 8242724611fc26f8fba52047f2168f2b8849310a |
| parent | 0af79e7b8c50e80764e9833767967db038e3cbf1 |
| signature |
1 files changed, 2 insertions(+), 2 deletions(-)
lib/std/debug.zig+2-2| ... | ... | @@ -596,8 +596,8 @@ fn waitForOtherThreadToFinishPanicking() void { |
| 596 | 596 | if (builtin.single_threaded) unreachable; |
| 597 | 597 | |
| 598 | 598 | // Sleep forever without hammering the CPU |
| 599 | var futex = std.atomic.Value(u32).init(0); | |
| 600 | while (true) std.Thread.Futex.wait(&futex, 0); | |
| 599 | var futex: u32 = 0; | |
| 600 | while (true) std.Options.debug_io.futexWaitUncancelable(u32, &futex, 0); | |
| 601 | 601 | unreachable; |
| 602 | 602 | } |
| 603 | 603 | } |