Module utils::multithreading
source · 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 the number of worker threads to use.
- Set the number of worker threads to use.
- Run a worker function concurrently using a pool of worker threads.