Avoids the expense of thread creation by pooling threads after their run methods exit for reuse.
If an idle thread is available a job is directly dispatched, otherwise the job is queued. After queuing a job, if the total number of threads is less than the maximum pool size, a new thread is spawned.
@author Greg Wilkins
|
|
|
|