1
0
Fork 0
mirror of https://github.com/juce-framework/JUCE.git synced 2026-01-10 23:44:24 +00:00

ThreadPool: Add support for a user specified thread name

This commit is contained in:
Anthony Nicholls 2023-06-19 12:24:45 +00:00
parent 21aca5ba3e
commit b3da4ae946
9 changed files with 96 additions and 30 deletions

View file

@ -50,7 +50,7 @@
FileSearchPath paths;
static constexpr auto numJobs = 5;
ThreadPool pool { numJobs };
ThreadPool pool { ThreadPoolOptions{}.withNumberOfThreads (numJobs) };
void startScan()
{