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.
9b05474d79Cody Tapscott committed on 6/11/2022, 1:59:39 AM· committed by Andrew Kelleyparent62023c6
1 file changedLine totals unavailable