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:
parent
ef6ab9ed6a
commit
4570818cc0
2 changed files with 4 additions and 4 deletions
|
|
@ -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;
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue