Function setupWorkerThreads
Sets up num worker threads.
void setupWorkerThreads
(
uint num = 0u
) nothrow @safe;
This function gives explicit control over the number of worker threads. Note, to have an effect the function must be called prior to related worker tasks functions which set up the default number of worker threads implicitly.
Parameters
Name | Description |
---|---|
num | The number of worker threads to initialize. Defaults to
logicalProcessorCount . |