Total number of threads.
Total number of threads.
Shut down the thread pool when required.
Shut down the thread pool when required. This will interrupt all threads and clear the worker and the scheduler queues.
Usually this is not needed in application code. Call this method in a situation when work has to be stopped immediately.
The fixed-thread implementation of a
Chymyst
thread pool.