refactor: Use Mutex type for some mutexes in CNode class

This commit is contained in:
Hennadii Stepanov 2020-09-08 11:28:03 +03:00
parent 147d50d63e
commit 0e51a35512
No known key found for this signature in database
GPG key ID: 410108112E7EA81F

View file

@ -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<std::vector<unsigned char>> 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<CNetMessage> vProcessMsg GUARDED_BY(cs_vProcessMsg);