class
ScopedSpinLock
Provides a safer method for locking a spin lock as the lock will get automatically locked when this objected is created and unlocked as soon as it goes out of scope.
Public
Constructors
ScopedSpinLock
ScopedSpinLock(SpinLock &spinLock)
Methods
~ScopedSpinLock
~ScopedSpinLock() noexcept
Private
Fields
mSpinLock
SpinLock & mSpinLock