pub fn single_queue_threadpool_auto_config() -> SingleQueueThreadpool
Expand description
Creates a new thread pool with the same number of workers as CPUs are detected.
ยงExamples
Create a new thread pool capable of executing at least one jobs concurrently:
let pool = lft_rust::single_queue_threadpool_auto_config();