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 volatile std::uint32_t _writerThread;
87 volatile std::uint32_t _lock;
WinAPI::CRITICAL_SECTION criticalSection
Definition: BSAtomic.h:9
Definition: BSAtomic.h:14
void * event
Definition: BSAtomic.h:17
Definition: BSAtomic.h:22
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
Definition: BSAtomic.h:69
@ kLockCountMask
Definition: BSAtomic.h:74
@ kLockWrite
Definition: BSAtomic.h:73
Definition: BSAtomic.h:30
void * semaphore
Definition: BSAtomic.h:36
Definition: BSAtomic.h:41
Definition: BSAtomic.h:92
BSSpinLockGuard(BSSpinLock &a_lock)
BSSpinLockGuard(const BSSpinLockGuard &)=delete
BSSpinLockGuard(BSSpinLockGuard &&)=delete
BSSpinLockGuard & operator=(BSSpinLockGuard &&)=delete
BSSpinLockGuard & operator=(const BSSpinLockGuard &)=delete
Definition: BSAtomic.h:49
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