mirror of
https://github.com/Zygo/bees.git
synced 2026-01-08 20:00:22 +01:00
1cbc894e6f
When paused, TaskConsumer threads will eventually notice the paused condition and exit; however, there's nothing to restart threads when exiting the paused state. When unpausing, and while the lock is already held, create TaskConsumer threads as needed to reach the target thread count. Signed-off-by: Zygo Blaxell <bees@furryterror.org>