diff options
Diffstat (limited to 'lib/std/Io/Threaded')
| -rw-r--r-- | lib/std/Io/Threaded/test.zig | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/std/Io/Threaded/test.zig b/lib/std/Io/Threaded/test.zig index 7e6e687cf2..16afae7b63 100644 --- a/lib/std/Io/Threaded/test.zig +++ b/lib/std/Io/Threaded/test.zig @@ -10,7 +10,7 @@ test "concurrent vs main prevents deadlock via oversubscription" { defer threaded.deinit(); const io = threaded.io(); - threaded.cpu_count = 1; + threaded.async_limit = .nothing; var queue: Io.Queue(u8) = .init(&.{}); @@ -38,7 +38,7 @@ test "concurrent vs concurrent prevents deadlock via oversubscription" { defer threaded.deinit(); const io = threaded.io(); - threaded.cpu_count = 1; + threaded.async_limit = .nothing; var queue: Io.Queue(u8) = .init(&.{}); |
