![]() |
PRCYCoin
2.0.0.7rc1
P2P Digital Currency
|
Wrapper around std::unique_lock style lock for Mutex. More...
#include <sync.h>
Public Member Functions | |
| UniqueLock (Mutex &mutexIn, const char *pszName, const char *pszFile, int nLine, bool fTry=false) EXCLUSIVE_LOCK_FUNCTION(mutexIn) | |
| UniqueLock (Mutex *pmutexIn, const char *pszName, const char *pszFile, int nLine, bool fTry=false) EXCLUSIVE_LOCK_FUNCTION(pmutexIn) | |
| ~UniqueLock () 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) |
Wrapper around std::unique_lock style lock for Mutex.
|
inline |
|
inline |
|
inline |
|
inlineprivate |
|
inline |
|
inlineprivate |
1.8.17