143 inline void enter()
const noexcept {}
144 inline bool tryEnter()
const noexcept {
return true; }
145 inline void exit()
const noexcept {}
Holds a resizable array of primitive or copy-by-value objects.
GenericScopedLock< CriticalSection > ScopedLockType
Provides the type of scoped lock to use with a CriticalSection.
GenericScopedUnlock< CriticalSection > ScopedUnlockType
Provides the type of scoped unlocker to use with a CriticalSection.
CriticalSection() noexcept
Creates a CriticalSection object.
GenericScopedTryLock< CriticalSection > ScopedTryLockType
Provides the type of scoped try-locker to use with a CriticalSection.
A class that can be used in place of a real CriticalSection object, but which doesn't perform any loc...
Automatically locks and unlocks a mutex object.
Automatically locks and unlocks a mutex object.
Automatically unlocks and re-locks a mutex object.
#define JUCE_API
This macro is added to all JUCE public class declarations.
A dummy scoped-lock type to use with a dummy critical section.