Module thread_pool

Module thread_pool 

Source
Expand description

Thread pool implementation

Structs§

ThreadPool
A thread pool for executing tasks concurrently

Functions§

global_pool
Get or initialize the global thread pool
num_cpus
Get the number of available CPU cores