mirror of
https://github.com/bitcoin/bitcoin.git
synced 2025-09-30 16:04:32 +02:00
refactor: replace RecursiveMutex m_banned_mutex with Mutex
This commit is contained in:
@@ -84,7 +84,7 @@ private:
|
|||||||
//!clean unused entries (if bantime has expired)
|
//!clean unused entries (if bantime has expired)
|
||||||
void SweepBanned() EXCLUSIVE_LOCKS_REQUIRED(m_banned_mutex);
|
void SweepBanned() EXCLUSIVE_LOCKS_REQUIRED(m_banned_mutex);
|
||||||
|
|
||||||
RecursiveMutex m_banned_mutex;
|
Mutex m_banned_mutex;
|
||||||
banmap_t m_banned GUARDED_BY(m_banned_mutex);
|
banmap_t m_banned GUARDED_BY(m_banned_mutex);
|
||||||
bool m_is_dirty GUARDED_BY(m_banned_mutex){false};
|
bool m_is_dirty GUARDED_BY(m_banned_mutex){false};
|
||||||
CClientUIInterface* m_client_interface = nullptr;
|
CClientUIInterface* m_client_interface = nullptr;
|
||||||
|
Reference in New Issue
Block a user