diff options
author | Anthony Towns <aj@erisian.com.au> | 2022-04-20 17:10:13 +1000 |
---|---|---|
committer | Anthony Towns <aj@erisian.com.au> | 2022-05-21 01:23:23 +1000 |
commit | bba87c0553780eacf0317fbfec7330ea27aa02f8 (patch) | |
tree | 61fcec9f73e23a29c1d0d465572afdb5e9e8867d /src/init.cpp | |
parent | a559509a0b8cade27199740212d7b589f71a0e3b (diff) | |
download | bitcoin-bba87c0553780eacf0317fbfec7330ea27aa02f8.tar.xz |
scripted-diff: Convert global Mutexes to GlobalMutexes
-BEGIN VERIFY SCRIPT-
sed -i -E -e '/^([a-z]+ )?Mutex [a-z]/ s/Mutex/GlobalMutex/' $(git grep -lE '^([a-z]+ )?Mutex [a-z]')
-END VERIFY SCRIPT-
Diffstat (limited to 'src/init.cpp')
-rw-r--r-- | src/init.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/init.cpp b/src/init.cpp index e65af7e7ba..e4b13cdf5b 100644 --- a/src/init.cpp +++ b/src/init.cpp @@ -600,7 +600,7 @@ void SetupServerArgs(ArgsManager& argsman) } static bool fHaveGenesis = false; -static Mutex g_genesis_wait_mutex; +static GlobalMutex g_genesis_wait_mutex; static std::condition_variable g_genesis_wait_cv; static void BlockNotifyGenesisWait(const CBlockIndex* pBlockIndex) |