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:
parent
21aca5ba3e
commit
b3da4ae946
9 changed files with 96 additions and 30 deletions
|
|
@ -317,7 +317,8 @@ private:
|
|||
}
|
||||
|
||||
//==============================================================================
|
||||
ThreadPool pool { 3 };
|
||||
ThreadPool pool { ThreadPoolOptions{}.withThreadName ("Demo thread pool")
|
||||
.withNumberOfThreads (3) };
|
||||
TextButton controlButton { "Thread type" };
|
||||
bool isUsingPool = false;
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue