|
openshot-audio
0.1.5
|
Go to the source code of this file.
Classes | |
| class | CriticalSection |
| class | DummyCriticalSection |
| struct | DummyCriticalSection::ScopedLockType |
Macros | |
| #define | JUCE_CRITICALSECTION_H_INCLUDED |
Typedefs | |
| typedef CriticalSection::ScopedLockType | ScopedLock |
| typedef CriticalSection::ScopedUnlockType | ScopedUnlock |
| typedef CriticalSection::ScopedTryLockType | ScopedTryLock |
| #define JUCE_CRITICALSECTION_H_INCLUDED |
Automatically locks and unlocks a CriticalSection object.
You can use a ScopedLock as a local variable to provide RAII-based locking of a CriticalSection.
e.g.
Automatically tries to lock and unlock a CriticalSection object.
Use one of these as a local variable to control access to a CriticalSection.
e.g.
Automatically unlocks and re-locks a CriticalSection object.
This is the reverse of a ScopedLock object - instead of locking the critical section for the lifetime of this object, it unlocks it.
Make sure you don't try to unlock critical sections that aren't actually locked!
e.g.
1.8.13