Pool Expansion and Contraction
A thread pool can have a fixed number of threads or its size may grow and shrink dynamically according to load. The dynamic nature of the pool is controlled by parameters the creator member function, make(). You can control the minimum and maximum size of the pool as well as how long an idle thread will wait without work before exiting.