Fabcoin Core
0.16.2
P2P Digital Currency
|
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) EXCLUSIVE_LOCK_FUNCTION(mutexIn) | |
CMutexLock (Mutex *pmutexIn, const char *pszName, const char *pszFile, int nLine, bool fTry=false) EXCLUSIVE_LOCK_FUNCTION(pmutexIn) | |
~CMutexLock () UNLOCK_FUNCTION() | |
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 |
|
inline |
|
inline |
|
inlineprivate |
|
inline |
|
inlineprivate |
|
private |