| author | |
| committer | |
| log | b80e43903fdbf28c6383236a618d27b749717f56 |
| tree | 3c15ac41a3f4a78137675b2a0b12bdfd4665e57e |
| parent | 0156d68f0c9626074ca14d6c2cf677135e47e585 |
1 files changed, 1 insertions(+), 1 deletions(-)
lib/std/Io/Threaded.zig+1-1| ... | ... | @@ -453,7 +453,7 @@ fn async( |
| 453 | 453 | start: *const fn (context: *const anyopaque, result: *anyopaque) void, |
| 454 | 454 | ) ?*Io.AnyFuture { |
| 455 | 455 | const t: *Threaded = @ptrCast(@alignCast(userdata)); |
| 456 | if (t.cpu_count == 1) { | |
| 456 | if (t.cpu_count == 1 or builtin.single_threaded) { | |
| 457 | 457 | start(context.ptr, result.ptr); |
| 458 | 458 | return null; |
| 459 | 459 | } |