TaskPool
operate transparently in single-threaded mode.
(AbstractTask * task, int priority = int.max)() @trustedDefault 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.
TaskPool
operate transparently in single-threaded mode.
(size_t nWorkers) @trustedAllows for custom number of worker threads.