Expand description
Multithreading helpers.
The main purpose of this module is to allow the number of worker threads used by each puzzle solution to be controlled by a CLI argument.
Functionsยง
- get_
thread_ count - Get the number of worker threads to use.
- set_
thread_ count - Set the number of worker threads to use.
- worker_
pool - Run a worker function concurrently using a pool of worker threads.