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. |
||
|---|---|---|
| .. | ||
| Mutex | ||
| Condition.zig | ||
| Futex.zig | ||
| Mutex.zig | ||
| Pool.zig | ||
| RwLock.zig | ||
| Semaphore.zig | ||
| WaitGroup.zig | ||