Fix setupWorkerThreads to actually use the provided thread count. See #35.
This commit is contained in:
parent
dd05676c4e
commit
a5628230c1
|
@ -590,7 +590,7 @@ public void setupWorkerThreads(uint num = logicalProcessorCount())
|
|||
|
||||
synchronized (st_threadsMutex) {
|
||||
if (!st_workerPool)
|
||||
st_workerPool = new shared TaskPool;
|
||||
st_workerPool = new shared TaskPool(num);
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue