Create a new ThreadPool.
The amount of threads to spawn
The expected size of the queue (how many elements are preallocated)
See Implementation
Create a new ThreadPool.