ThreadPool instance ready to be started.ThreadPool.create
ThreadPool create(size_t numWorkers = 0, size_t queueCapacity = 1024) @trustedCreate a new thread pool with the specified number of workers.
Parameters
numWorkers | Number of worker threads to create. Must be at least 1. |
queueCapacity | Maximum number of queued tasks. Use 0 for unbounded. |
Returns
A new