![]() |
Master Core
v0.0.9 - 49a5c0d97abf09ef2911ddfe8d9551df59f9efd3-dirty
|
Wrapper around boost::unique_lock<Mutex> More...
#include <sync.h>
Public Member Functions | |
CMutexLock (Mutex &mutexIn, const char *pszName, const char *pszFile, int nLine, bool fTry=false) | |
~CMutexLock () | |
operator bool () | |
Private Member Functions | |
void | Enter (const char *pszName, const char *pszFile, int nLine) |
bool | TryEnter (const char *pszName, const char *pszFile, int nLine) |
Private Attributes | |
boost::unique_lock< Mutex > | lock |
Wrapper around boost::unique_lock<Mutex>
|
inline |
Definition at line 134 of file sync.h.
References CMutexLock< Mutex >::Enter(), and CMutexLock< Mutex >::TryEnter().
|
inline |
Definition at line 142 of file sync.h.
References LeaveCritical().
|
inlineprivate |
Definition at line 110 of file sync.h.
References EnterCritical().
Referenced by CMutexLock< Mutex >::CMutexLock().
|
inline |
|
inlineprivate |
Definition at line 124 of file sync.h.
References EnterCritical(), and LeaveCritical().
Referenced by CMutexLock< Mutex >::CMutexLock().
|
private |