Fix setupWorkerThreads to actually use the provided thread count. See #35.

This commit is contained in:
Sönke Ludwig 2017-09-21 13:40:00 +02:00
parent dd05676c4e
commit a5628230c1

View file

@ -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);
}
}