CryOptionalAutoLock

Class Hierarchy
C++
template <class LockClass>
class CryOptionalAutoLock;
File

CryThread.h

Description

CryOptionalAutoLock implements a helper class to automatically lock critical section (if needed) in constructor and release on destructor.

CryOptionalAutoLock::~CryOptionalAutoLock Destructor
C++
CryOptionalAutoLock::Acquire Method
C++
void Acquire();
CryOptionalAutoLock::CryOptionalAutoLock Constructor
C++
CryOptionalAutoLock(LockClass & Lock, bool acquireLock);
CryOptionalAutoLock::Release Method
C++
void Release();