mirror of
https://github.com/bitcoin/bitcoin.git
synced 2025-01-26 11:13:23 -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
|
size_t nSendOffset{0}; // offset inside the first vSendMsg already sent
|
||||||
uint64_t nSendBytes GUARDED_BY(cs_vSend){0};
|
uint64_t nSendBytes GUARDED_BY(cs_vSend){0};
|
||||||
std::deque<std::vector<unsigned char>> vSendMsg GUARDED_BY(cs_vSend);
|
std::deque<std::vector<unsigned char>> vSendMsg GUARDED_BY(cs_vSend);
|
||||||
RecursiveMutex cs_vSend;
|
Mutex cs_vSend;
|
||||||
RecursiveMutex cs_hSocket;
|
Mutex cs_hSocket;
|
||||||
RecursiveMutex cs_vRecv;
|
Mutex cs_vRecv;
|
||||||
|
|
||||||
RecursiveMutex cs_vProcessMsg;
|
RecursiveMutex cs_vProcessMsg;
|
||||||
std::list<CNetMessage> vProcessMsg GUARDED_BY(cs_vProcessMsg);
|
std::list<CNetMessage> vProcessMsg GUARDED_BY(cs_vProcessMsg);
|
||||||
|
|
Loading…
Add table
Reference in a new issue