mirror of
https://github.com/bitcoin/bitcoin.git
synced 2025-03-10 17:17:14 +01:00
refactor: Make CAddrMan::cs non-recursive
This commit is contained in:
parent
f5d1c7fac7
commit
ae98aec9c0
1 changed files with 2 additions and 2 deletions
|
@ -626,8 +626,8 @@ protected:
|
||||||
FastRandomContext insecure_rand;
|
FastRandomContext insecure_rand;
|
||||||
|
|
||||||
private:
|
private:
|
||||||
//! critical section to protect the inner data structures
|
//! A mutex to protect the inner data structures.
|
||||||
mutable RecursiveMutex cs;
|
mutable Mutex cs;
|
||||||
|
|
||||||
//! Serialization versions.
|
//! Serialization versions.
|
||||||
enum Format : uint8_t {
|
enum Format : uint8_t {
|
||||||
|
|
Loading…
Add table
Reference in a new issue