ThreadPool
ThreadPool copied to clipboard
Support for dynamic running threads
The threads count is fixed after initialization.
For example, if the thread count is 4 and the first 4 threads all need much time to finish.
Now, the fifth thread will wait long time to get any CPU time slice.