66 void enter()
const noexcept;
76 bool tryEnter()
const noexcept;
88 void exit()
const noexcept;
109 struct {
alignas(8)
std::byte data[44]; } lock;
111 struct {
alignas(8)
std::byte data[24]; } lock;
139 inline void enter()
const noexcept {}
140 inline bool tryEnter()
const noexcept {
return true; }
141 inline void exit()
const noexcept {}
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.
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.
A dummy scoped-lock type to use with a dummy critical section.