From 0e51a355128a825d428fe2b9017c25085731fc04 Mon Sep 17 00:00:00 2001 From: Hennadii Stepanov <32963518+hebasto@users.noreply.github.com> Date: Tue, 8 Sep 2020 11:28:03 +0300 Subject: [PATCH] refactor: Use Mutex type for some mutexes in CNode class --- src/net.h | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/net.h b/src/net.h index 60c3dc6aef..88e1b7b436 100644 --- a/src/net.h +++ b/src/net.h @@ -815,9 +815,9 @@ public: size_t nSendOffset{0}; // offset inside the first vSendMsg already sent uint64_t nSendBytes GUARDED_BY(cs_vSend){0}; std::deque> vSendMsg GUARDED_BY(cs_vSend); - RecursiveMutex cs_vSend; - RecursiveMutex cs_hSocket; - RecursiveMutex cs_vRecv; + Mutex cs_vSend; + Mutex cs_hSocket; + Mutex cs_vRecv; RecursiveMutex cs_vProcessMsg; std::list vProcessMsg GUARDED_BY(cs_vProcessMsg);