defaultPoolThreads

fnuint defaultPoolThreads() @property @trusted

These properties get and set the number of worker threads in the TaskPool instance returned by taskPool. The default value is totalCPUs - 1. Calling the setter after the first call to taskPool does not changes number of worker threads in the instance returned by taskPool.

fnvoid defaultPoolThreads(uint newVal) @property @trusted

Ditto