diff options
| author | Luke Dashjr <[email protected]> | 2012-05-13 04:43:24 +0000 |
|---|---|---|
| committer | Wladimir J. van der Laan <[email protected]> | 2014-07-11 14:48:02 +0200 |
| commit | ff6a7af154f2151c93a06b7ee86c167603c5ac55 (patch) | |
| tree | 5042feb9576de0a4857ac41e444774a87f79194f /src/sync.h | |
| parent | Merge pull request #4501 (diff) | |
| download | discoin-ff6a7af154f2151c93a06b7ee86c167603c5ac55.tar.xz discoin-ff6a7af154f2151c93a06b7ee86c167603c5ac55.zip | |
getblocktemplate: longpolling support
Diffstat (limited to 'src/sync.h')
| -rw-r--r-- | src/sync.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/sync.h b/src/sync.h index 077ed59b8..cd319e017 100644 --- a/src/sync.h +++ b/src/sync.h @@ -84,6 +84,9 @@ typedef AnnotatedMixin<boost::recursive_mutex> CCriticalSection; /** Wrapped boost mutex: supports waiting but not recursive locking */ typedef AnnotatedMixin<boost::mutex> CWaitableCriticalSection; +/** Just a typedef for boost::condition_variable, can be wrapped later if desired */ +typedef boost::condition_variable CConditionVariable; + #ifdef DEBUG_LOCKORDER void EnterCritical(const char* pszName, const char* pszFile, int nLine, void* cs, bool fTry = false); void LeaveCritical(); |