|
JUCE-7.0.12-0-g4f43011b96 JUCE-7.0.12-0-g4f43011b96
JUCE — C++ application framework with suport for VST, VST3, LV2 audio plug-ins
« « « Anklang Documentation |
A set of threads that will run a list of jobs. More...
#include "juce_ThreadPool.h"
Public Member Functions | |
| ThreadPoolOptions | withThreadName (String newThreadName) const |
| The name to give each thread in the pool. | |
| ThreadPoolOptions | withNumberOfThreads (int newNumberOfThreads) const |
| The number of threads to run. | |
| ThreadPoolOptions | withThreadStackSizeBytes (size_t newThreadStackSizeBytes) const |
| The size of the stack of each thread in the pool. | |
| ThreadPoolOptions | withDesiredThreadPriority (Thread::Priority newDesiredThreadPriority) const |
| The desired priority of each thread in the pool. | |
Public Attributes | |
| String | threadName |
| int | numberOfThreads |
| size_t | threadStackSizeBytes |
| Thread::Priority | desiredThreadPriority |
A set of threads that will run a list of jobs.
When a ThreadPoolJob object is added to the ThreadPool's list, its runJob() method will be called by the next pooled thread that becomes free.
@tags{Core}
Definition at line 154 of file juce_ThreadPool.h.
| ThreadPoolOptions juce::ThreadPoolOptions::withDesiredThreadPriority | ( | Thread::Priority | newDesiredThreadPriority | ) | const |
The desired priority of each thread in the pool.
Definition at line 177 of file juce_ThreadPool.h.
| ThreadPoolOptions juce::ThreadPoolOptions::withNumberOfThreads | ( | int | newNumberOfThreads | ) | const |
The number of threads to run.
These will be started when a pool is created, and run until the pool is destroyed.
Definition at line 165 of file juce_ThreadPool.h.
| ThreadPoolOptions juce::ThreadPoolOptions::withThreadName | ( | String | newThreadName | ) | const |
The name to give each thread in the pool.
Definition at line 157 of file juce_ThreadPool.h.
| ThreadPoolOptions juce::ThreadPoolOptions::withThreadStackSizeBytes | ( | size_t | newThreadStackSizeBytes | ) | const |
The size of the stack of each thread in the pool.
Definition at line 171 of file juce_ThreadPool.h.
| Thread::Priority juce::ThreadPoolOptions::desiredThreadPriority |
Definition at line 185 of file juce_ThreadPool.h.
| int juce::ThreadPoolOptions::numberOfThreads |
Definition at line 183 of file juce_ThreadPool.h.
| String juce::ThreadPoolOptions::threadName |
Definition at line 182 of file juce_ThreadPool.h.
| size_t juce::ThreadPoolOptions::threadStackSizeBytes |
Definition at line 184 of file juce_ThreadPool.h.