| ... | @@ -6,6 +6,11 @@ const testing = std.testing; | ... | @@ -6,6 +6,11 @@ const testing = std.testing; |
| 6 | const assert = std.debug.assert; | 6 | const assert = std.debug.assert; |
| 7 | | 7 | |
| 8 | test "concurrent vs main prevents deadlock via oversubscription" { | 8 | test "concurrent vs main prevents deadlock via oversubscription" { |
| | 9 | if (true) { |
| | 10 | // https://codeberg.org/ziglang/zig/issues/30141 |
| | 11 | return error.SkipZigTest; |
| | 12 | } |
| | 13 | |
| 9 | var threaded: Io.Threaded = .init(std.testing.allocator); | 14 | var threaded: Io.Threaded = .init(std.testing.allocator); |
| 10 | defer threaded.deinit(); | 15 | defer threaded.deinit(); |
| 11 | const io = threaded.io(); | 16 | const io = threaded.io(); |
| ... | @@ -34,6 +39,11 @@ fn get(io: Io, queue: *Io.Queue(u8)) void { | ... | @@ -34,6 +39,11 @@ fn get(io: Io, queue: *Io.Queue(u8)) void { |
| 34 | } | 39 | } |
| 35 | | 40 | |
| 36 | test "concurrent vs concurrent prevents deadlock via oversubscription" { | 41 | test "concurrent vs concurrent prevents deadlock via oversubscription" { |
| | 42 | if (true) { |
| | 43 | // https://codeberg.org/ziglang/zig/issues/30141 |
| | 44 | return error.SkipZigTest; |
| | 45 | } |
| | 46 | |
| 37 | var threaded: Io.Threaded = .init(std.testing.allocator); | 47 | var threaded: Io.Threaded = .init(std.testing.allocator); |
| 38 | defer threaded.deinit(); | 48 | defer threaded.deinit(); |
| 39 | const io = threaded.io(); | 49 | const io = threaded.io(); |