aboutsummaryrefslogtreecommitdiff
path: root/src/net.h
diff options
context:
space:
mode:
authorAnthony Towns <aj@erisian.com.au>2019-05-30 13:44:02 +1000
committerAnthony Towns <aj@erisian.com.au>2020-05-19 16:33:10 +1000
commit8b5af3d4c1270267ad85e78f661bf8fab06f3aad (patch)
treefb51d32074cfe24c9f92bfc6bf7c21069cbeda10 /src/net.h
parentde7c5f41aba860751ef7824245e6d9d5088a1200 (diff)
net: fMsgProcWake use LOCK instead of lock_guard
Diffstat (limited to 'src/net.h')
-rw-r--r--src/net.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/net.h b/src/net.h
index 0d79efbba7..a4bf06e47f 100644
--- a/src/net.h
+++ b/src/net.h
@@ -451,7 +451,7 @@ private:
const uint64_t nSeed0, nSeed1;
/** flag for waking the message processor. */
- bool fMsgProcWake;
+ bool fMsgProcWake GUARDED_BY(mutexMsgProc);
std::condition_variable condMsgProc;
Mutex mutexMsgProc;