mirror of
https://codeberg.org/ziglang/zig.git
synced 2025-12-06 13:54:21 +00:00
while still preserving the guarantee about async() being assigned a unit of concurrency (or immediately running the task), this change: * retains the error from calling getCpuCount() * spawns all threads in detached mode, using WaitGroup to join them * treats all workers the same regardless of whether they are processing concurrent or async tasks. one thread pool does all the work, while respecting async and concurrent limits. |
||
|---|---|---|
| .. | ||
| net | ||
| Reader | ||
| Threaded | ||
| Dir.zig | ||
| File.zig | ||
| IoUring.zig | ||
| Kqueue.zig | ||
| net.zig | ||
| Reader.zig | ||
| test.zig | ||
| Threaded.zig | ||
| tty.zig | ||
| Writer.zig | ||