Luna::LockGuard

The RAII wrapper that locks the specified lock upon construction, and unlocks the specified lock upon destruction.

template <typename _SpinLock>
class Luna::LockGuard

This can be used for both SpinLock and RecursiveSpinLock

Member functions