Design | TODO5 | Thread Pool Pattern |
The number of threads used (N) is a parameter that can be tuned to provide the best performance.
The advantage of using a Thread Pool over creating a new thread for each task, is that thread creation and destruction overhead is negated, which may result in better performance and better system stability.
From Wikipedia , the free encyclopedia.