aboutsummaryrefslogtreecommitdiff
path: root/src/net.h
diff options
context:
space:
mode:
authorWladimir J. van der Laan <[email protected]>2017-01-19 20:19:29 +0100
committerWladimir J. van der Laan <[email protected]>2017-01-19 20:20:04 +0100
commit82274c02ed2d82537dc55f008a29edb1bc09bbc4 (patch)
treefa0f03543fae1b52dab95bbb607e8a3b1e73fae3 /src/net.h
parentMerge #9461: [Qt] Improve progress display during headers-sync and peer-finding (diff)
parentMake the cs_sendProcessing a LOCK instead of a TRY_LOCK (diff)
downloaddiscoin-82274c02ed2d82537dc55f008a29edb1bc09bbc4.tar.xz
discoin-82274c02ed2d82537dc55f008a29edb1bc09bbc4.zip
Merge #9535: Split CNode::cs_vSend: message processing and message sending
376b3c2 Make the cs_sendProcessing a LOCK instead of a TRY_LOCK (Matt Corallo) d7c58ad Split CNode::cs_vSend: message processing and message sending (Matt Corallo)
Diffstat (limited to 'src/net.h')
-rw-r--r--src/net.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/net.h b/src/net.h
index a9da38146..505962f51 100644
--- a/src/net.h
+++ b/src/net.h
@@ -618,6 +618,8 @@ public:
std::list<CNetMessage> vProcessMsg;
size_t nProcessQueueSize;
+ CCriticalSection cs_sendProcessing;
+
std::deque<CInv> vRecvGetData;
uint64_t nRecvBytes;
std::atomic<int> nRecvVersion;