aboutsummaryrefslogtreecommitdiff
path: root/src/sync.h
diff options
context:
space:
mode:
authorLuke Dashjr <luke-jr+git@utopios.org>2012-05-13 04:43:24 +0000
committerWladimir J. van der Laan <laanwj@gmail.com>2014-07-11 14:48:02 +0200
commitff6a7af154f2151c93a06b7ee86c167603c5ac55 (patch)
tree5042feb9576de0a4857ac41e444774a87f79194f /src/sync.h
parentf0fc81a0832a8fa93c5d7e619e25f739d72b49f3 (diff)
downloadbitcoin-ff6a7af154f2151c93a06b7ee86c167603c5ac55.tar.xz
getblocktemplate: longpolling support
Diffstat (limited to 'src/sync.h')
-rw-r--r--src/sync.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/sync.h b/src/sync.h
index 077ed59b89..cd319e0171 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();