diff options
author | Vasil Dimov <vd@FreeBSD.org> | 2021-04-23 15:30:46 +0200 |
---|---|---|
committer | Vasil Dimov <vd@FreeBSD.org> | 2022-01-28 06:41:10 +0100 |
commit | b68349164827f14c472201cad54c4e19a3321261 (patch) | |
tree | edf515dfd9cb40040672e999445ad5359ba295ad /src/net.h | |
parent | c41a1162ac4da437c5d755e8fe2bf636bed22b0f (diff) |
scripted-diff: rename CNode::cs_hSocket to CNode::m_sock_mutex
-BEGIN VERIFY SCRIPT-
sed -i -e 's/cs_hSocket/m_sock_mutex/g' $(git grep -l cs_hSocket)
-END VERIFY SCRIPT-
Diffstat (limited to 'src/net.h')
-rw-r--r-- | src/net.h | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -411,7 +411,7 @@ public: * poll(2)-ing it for activity. * @see https://github.com/bitcoin/bitcoin/issues/21744 for details. */ - std::shared_ptr<Sock> m_sock GUARDED_BY(cs_hSocket); + std::shared_ptr<Sock> m_sock GUARDED_BY(m_sock_mutex); /** Total size of all vSendMsg entries */ size_t nSendSize GUARDED_BY(cs_vSend){0}; @@ -420,7 +420,7 @@ public: uint64_t nSendBytes GUARDED_BY(cs_vSend){0}; std::deque<std::vector<unsigned char>> vSendMsg GUARDED_BY(cs_vSend); Mutex cs_vSend; - Mutex cs_hSocket; + Mutex m_sock_mutex; Mutex cs_vRecv; RecursiveMutex cs_vProcessMsg; |