Number of threads that are ready and idle.
Register a callback invoked whenever a thread becomes ready or idle.
Resolves when all threads have been spawned and signalled ready.
Total number of threads in the pool.
Dispatch a serialized job to a specific idle worker. The caller is responsible for checking idleness first.
Find the first ready & idle thread.
Terminate all threads and reject any in-flight tasks.
Number of threads currently processing a job.