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

@ -317,7 +317,8 @@ private:
}
//==============================================================================
ThreadPool pool { 3 };
ThreadPool pool { ThreadPoolOptions{}.withThreadName ("Demo thread pool")
.withNumberOfThreads (3) };
TextButton controlButton { "Thread type" };
bool isUsingPool = false;