Luna::LockGuard::LockGuard

LockGuard(_SpinLock &lock)

Constructs one lock guard and acquires the specified lock.

Parameters

  • in lock

    The spin lock to acquire.