25 volatile std::uint32_t
lock;
58 void Lock(std::uint32_t a_pauseAttempts = 0);
63 volatile std::uint32_t _owningThread;
64 volatile std::uint32_t _lockCount;
86 [[maybe_unused]]
volatile std::uint32_t _writerThread;
87 [[maybe_unused]]
volatile std::uint32_t _lock;
WinAPI::CRITICAL_SECTION criticalSection
Definition BSAtomic.h:9
void * event
Definition BSAtomic.h:17
volatile std::uint32_t lock
Definition BSAtomic.h:25
Definition BSAtomic.h:109
BSReadLockGuard(BSReadLockGuard &&)=delete
BSReadLockGuard & operator=(BSReadLockGuard &&)=delete
BSReadLockGuard(BSReadWriteLock &a_lock)
BSReadLockGuard(const BSReadLockGuard &)=delete
BSReadLockGuard & operator=(const BSReadLockGuard &)=delete
@ kLockCountMask
Definition BSAtomic.h:74
@ kLockWrite
Definition BSAtomic.h:73
void * semaphore
Definition BSAtomic.h:36
BSSpinLockGuard(BSSpinLock &a_lock)
BSSpinLockGuard(const BSSpinLockGuard &)=delete
BSSpinLockGuard(BSSpinLockGuard &&)=delete
BSSpinLockGuard & operator=(BSSpinLockGuard &&)=delete
BSSpinLockGuard & operator=(const BSSpinLockGuard &)=delete
void Lock(std::uint32_t a_pauseAttempts=0)
@ kFastSpinThreshold
Definition BSAtomic.h:53
Definition BSAtomic.h:126
BSWriteLockGuard(const BSWriteLockGuard &)=delete
BSWriteLockGuard & operator=(BSWriteLockGuard &&)=delete
BSWriteLockGuard & operator=(const BSWriteLockGuard &)=delete
BSWriteLockGuard(BSReadWriteLock &a_lock)
BSWriteLockGuard()=delete
BSWriteLockGuard(BSWriteLockGuard &&)=delete
Definition AbsorbEffect.h:6