Default constructor that initializes a TaskPool with
totalCPUs - 1 worker threads. The minus 1 is included because the
main thread will also be available to do work.
Note: On single-core machines, the primitives provided by TaskPool
operate transparently in single-threaded mode.
Default constructor that initializes a TaskPool with totalCPUs - 1 worker threads. The minus 1 is included because the main thread will also be available to do work.
Note: On single-core machines, the primitives provided by TaskPool operate transparently in single-threaded mode.