diff options
author | w0xlt <94266259+w0xlt@users.noreply.github.com> | 2022-01-25 18:20:13 -0300 |
---|---|---|
committer | w0xlt <94266259+w0xlt@users.noreply.github.com> | 2022-04-22 05:40:24 -0300 |
commit | 709af67add93f6674fb80e3ae8e3f175653a62f0 (patch) | |
tree | ba61da263b6c6eb382d4a8b458eda5b64279b1a8 | |
parent | 8be75fd0f0039eeea5f9af7c1eb17c584ed9f507 (diff) | |
download | bitcoin-709af67add93f6674fb80e3ae8e3f175653a62f0.tar.xz |
p2p: replace RecursiveMutex `m_total_bytes_sent_mutex` with Mutex
-rw-r--r-- | src/net.h | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -1068,7 +1068,7 @@ private: static bool NodeFullyConnected(const CNode* pnode); // Network usage totals - mutable RecursiveMutex m_total_bytes_sent_mutex; + mutable Mutex m_total_bytes_sent_mutex; std::atomic<uint64_t> nTotalBytesRecv{0}; uint64_t nTotalBytesSent GUARDED_BY(m_total_bytes_sent_mutex) {0}; |