35 #include "LockGuard.inl"
A RAII locking mechanism.
Mutex * FMutex
A reference to the owned Mutex.
void Release(void) noexcept
Releases the lock on Mutex, this same LockGuard can never reaquire it.
A fast locking, no order guaranteed, mutex.
LockGuard(Mutex &AMutex, const bool APreLocked=false) noexcept
Construct a LockGuard that will hold a lock on AMutex.