A simple object wrapper around WaitForSingleObject() and ReleaseMutex() More...
#include <MSThreads.hh>
Public Member Functions | |
MSScopedLock (MSMutex &mutex) | |
~MSScopedLock () | |
Private Member Functions | |
MSScopedLock (const MSScopedLock &other) | |
Private Attributes | |
LPCRITICAL_SECTION | _criticalSection |
A simple object wrapper around WaitForSingleObject() and ReleaseMutex()
Definition at line 75 of file MSThreads.hh.
threading::MSScopedLock::MSScopedLock | ( | MSMutex & | mutex | ) | [inline] |
Definition at line 77 of file MSThreads.hh.
threading::MSScopedLock::~MSScopedLock | ( | ) | [inline] |
Definition at line 82 of file MSThreads.hh.
threading::MSScopedLock::MSScopedLock | ( | const MSScopedLock & | other | ) | [private] |
LPCRITICAL_SECTION threading::MSScopedLock::_criticalSection [private] |
Definition at line 86 of file MSThreads.hh.