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
|
|
@ -50,7 +50,7 @@
|
|||
FileSearchPath paths;
|
||||
|
||||
static constexpr auto numJobs = 5;
|
||||
ThreadPool pool { numJobs };
|
||||
ThreadPool pool { ThreadPoolOptions{}.withNumberOfThreads (numJobs) };
|
||||
|
||||
void startScan()
|
||||
{
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue