◆ IncomingCommand
◆ BackgroundMessageQueue()
| juce::dsp::BackgroundMessageQueue::BackgroundMessageQueue |
( |
int | entries | ) |
|
|
inlineexplicit |
◆ popAll()
| void juce::dsp::BackgroundMessageQueue::popAll |
( |
| ) |
|
|
inline |
◆ push()
◆ run()
| void juce::dsp::BackgroundMessageQueue::run |
( |
| ) |
|
|
inlineoverrideprivatevirtual |
Must be implemented to perform the thread's actual code.
Remember that the thread must regularly check the threadShouldExit() method whilst running, and if this returns true it should return from the run() method as soon as possible to avoid being forcibly killed.
- See also
- threadShouldExit, startThread
Implements juce::Thread.
◆ startThread() [1/2]
| void juce::Thread::startThread |
( |
| ) |
|
Starts the thread running.
This will cause the thread's run() method to be called by a new thread. If this thread is already running, startThread() won't do anything.
- See also
- stopThread
◆ startThread() [2/2]
| void juce::Thread::startThread |
( |
int | priority | ) |
|
Starts the thread with a given priority.
Launches the thread with a given priority, where 0 = lowest, 10 = highest. If the thread is already running, its priority will be changed.
- See also
- startThread, setPriority, realtimeAudioPriority
◆ stopThread()
| bool juce::Thread::stopThread |
( |
int | timeOutMilliseconds | ) |
|
Attempts to stop the thread running.
This method will cause the threadShouldExit() method to return true and call notify() in case the thread is currently waiting.
Hopefully the thread will then respond to this by exiting cleanly, and the stopThread method will wait for a given time-period for this to happen.
If the thread is stuck and fails to respond after the timeout, it gets forcibly killed, which is a very bad thing to happen, as it could still be holding locks, etc. which are needed by other parts of your program.
- Parameters
-
| timeOutMilliseconds | The number of milliseconds to wait for the thread to finish before killing it by force. A negative value in here will wait forever. |
- Returns
- true if the thread was cleanly stopped before the timeout, or false if it had to be killed by force.
- See also
- signalThreadShouldExit, threadShouldExit, waitForThreadToExit, isThreadRunning
◆ popMutex
◆ queue
The documentation for this class was generated from the following file:
- /home/runner/work/lmms-fork/lmms-fork/plugins/CarlaBase/carla/source/modules/juce_dsp/frequency/juce_Convolution.cpp