88 void exit() const noexcept;
109 std::aligned_storage_t<44, 8> lock;
111 std::aligned_storage_t<24, 8> lock;
114 mutable pthread_mutex_t lock;
133class JUCE_API DummyCriticalSection
136 inline DummyCriticalSection() =
default;
137 inline ~DummyCriticalSection() =
default;
139 inline void enter()
const noexcept {}
140 inline bool tryEnter()
const noexcept {
return true; }
141 inline void exit()
const noexcept {}
145 struct ScopedLockType
147 ScopedLockType (
const DummyCriticalSection&)
noexcept {}
154 JUCE_DECLARE_NON_COPYABLE (DummyCriticalSection)
bool tryEnter() const noexcept
GenericScopedLock< CriticalSection > ScopedLockType
GenericScopedUnlock< CriticalSection > ScopedUnlockType
CriticalSection() noexcept
GenericScopedTryLock< CriticalSection > ScopedTryLockType
void enter() const noexcept
void exit() const noexcept
ScopedLockType ScopedUnlockType