net: fMsgProcWake use LOCK instead of lock_guard

This commit is contained in:
Anthony Towns
2019-05-30 13:44:02 +10:00
parent de7c5f41ab
commit 8b5af3d4c1
2 changed files with 4 additions and 4 deletions

View File

@@ -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;