mirror of
https://github.com/bitcoin/bitcoin.git
synced 2025-01-25 10:43:19 -03:00
refactor: Use Mutex type for some mutexes in CNode class
This commit is contained in:
parent
147d50d63e
commit
0e51a35512
1 changed files with 3 additions and 3 deletions
|
@ -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…
Add table
Reference in a new issue