OpenShot Library | libopenshot-audio
0.2.0
|
Public Types | |
using | LockType = CriticalSection |
Public Member Functions | |
void | run () override |
Must be implemented to perform the thread's actual code. More... | |
void | callTimers () |
void | callTimersSynchronously () |
Static Public Member Functions | |
static void | add (Timer *tim) noexcept |
static void | remove (Timer *tim) noexcept |
static void | resetCounter (Timer *tim) noexcept |
Static Public Attributes | |
static TimerThread * | instance = nullptr |
static LockType | lock |
Definition at line 26 of file juce_Timer.cpp.
|
inlineoverridevirtual |
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.
Implements juce::Thread.
Definition at line 50 of file juce_Timer.cpp.
References juce::Time::getMillisecondCounter(), juce::Thread::threadShouldExit(), juce::WaitableEvent::wait(), and juce::Thread::wait().