Wrapper around boost::unique_lock<Mutex>
More...
#include <sync.h>
|
void | Enter (const char *pszName, const char *pszFile, int nLine) |
|
bool | TryEnter (const char *pszName, const char *pszFile, int nLine) |
|
|
boost::unique_lock< Mutex > | lock |
|
template<typename Mutex>
class CMutexLock< Mutex >
Wrapper around boost::unique_lock<Mutex>
Definition at line 106 of file sync.h.
template<typename Mutex >
CMutexLock< Mutex >::CMutexLock |
( |
Mutex & |
mutexIn, |
|
|
const char * |
pszName, |
|
|
const char * |
pszFile, |
|
|
int |
nLine, |
|
|
bool |
fTry = false |
|
) |
| |
|
inline |
template<typename Mutex >
template<typename Mutex >
void CMutexLock< Mutex >::Enter |
( |
const char * |
pszName, |
|
|
const char * |
pszFile, |
|
|
int |
nLine |
|
) |
| |
|
inlineprivate |
template<typename Mutex >
template<typename Mutex >
bool CMutexLock< Mutex >::TryEnter |
( |
const char * |
pszName, |
|
|
const char * |
pszFile, |
|
|
int |
nLine |
|
) |
| |
|
inlineprivate |
template<typename Mutex >
boost::unique_lock<Mutex> CMutexLock< Mutex >::lock |
|
private |
The documentation for this class was generated from the following file: