refactor: Use Mutex type for some mutexes in CNode class

pull/826/head
Hennadii Stepanov 4 years ago
parent 147d50d63e
commit 0e51a35512
No known key found for this signature in database
GPG Key ID: 410108112E7EA81F

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

Loading…
Cancel
Save