Sets up the thread pool used for executing worker tasks.
This function gives explicit control over the number of worker threads.
Note, to have an effect the function must be called before any worker
tasks are started. Otherwise the default number of worker threads
(logicalProcessorCount) will be used automatically.
Sets up the thread pool used for executing worker tasks.
This function gives explicit control over the number of worker threads. Note, to have an effect the function must be called before any worker tasks are started. Otherwise the default number of worker threads (logicalProcessorCount) will be used automatically.