1
0
Fork 0
mirror of https://github.com/juce-framework/JUCE.git synced 2026-01-11 23:54:18 +00:00

Small fix for ThreadPool priorities

This commit is contained in:
jules 2009-04-22 21:15:26 +00:00
parent ef6ab9ed6a
commit 4570818cc0
2 changed files with 4 additions and 4 deletions

View file

@ -15516,7 +15516,7 @@ ThreadPool::ThreadPool (const int numThreads_,
threads[i] = new ThreadPoolThread (*this);
if (! startThreadsOnlyWhenNeeded)
threads[i]->startThread();
threads[i]->startThread (priority);
}
}
@ -15568,7 +15568,7 @@ void ThreadPool::addJob (ThreadPoolJob* const job)
{
if (! threads[i]->isThreadRunning())
{
threads[i]->startThread();
threads[i]->startThread (priority);
startedOne = true;
}
}