WorkerPool
Description:
Creates a new worker pool.
Parameters:
parallels |
the number of threads |
factory |
a thread factory to create new threads |
Exceptions:
Error |
if threads can not be created, due to resource limits, etc. |