mirror of
https://codeberg.org/ziglang/zig
synced 2026-11-18 07:05:05 +00:00
ThreadPool: Make join() a no-op in single-threaded mode
This comptime gate is needed to make sure that purely single-threaded programs don't generate calls to the std.Thread API. WASI targets successfully build again with this change.
This commit is contained in:
parent
62023c60b4
commit
9b05474d79
1 changed files with 4 additions and 0 deletions
Loading…
Add table
Add a link
Reference in a new issue