diff options
| author | Russell Yanofsky <[email protected]> | 2017-11-08 17:07:40 -0500 |
|---|---|---|
| committer | Russell Yanofsky <[email protected]> | 2018-08-03 07:11:37 -0500 |
| commit | 9c4dc597ddc66acfd58a945a5ab11f833731abba (patch) | |
| tree | 65dd64eda8515ccc9245a1b4bb2211d60c620c07 /src/net.h | |
| parent | Make LOCK, LOCK2, TRY_LOCK work with CWaitableCriticalSection (diff) | |
| download | discoin-9c4dc597ddc66acfd58a945a5ab11f833731abba.tar.xz discoin-9c4dc597ddc66acfd58a945a5ab11f833731abba.zip | |
Use LOCK macros for non-recursive locks
Instead of std::unique_lock.
Diffstat (limited to 'src/net.h')
| -rw-r--r-- | src/net.h | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -425,7 +425,7 @@ private: bool fMsgProcWake; std::condition_variable condMsgProc; - std::mutex mutexMsgProc; + CWaitableCriticalSection mutexMsgProc; std::atomic<bool> flagInterruptMsgProc; CThreadInterrupt interruptNet; |