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-
This commit is contained in:
Anthony Towns
2022-04-20 17:10:13 +10:00
parent a559509a0b
commit bba87c0553
13 changed files with 15 additions and 15 deletions

View File

@@ -173,8 +173,8 @@ void NotifyWalletLoaded(WalletContext& context, const std::shared_ptr<CWallet>&
}
}
static Mutex g_loading_wallet_mutex;
static Mutex g_wallet_release_mutex;
static GlobalMutex g_loading_wallet_mutex;
static GlobalMutex g_wallet_release_mutex;
static std::condition_variable g_wallet_release_cv;
static std::set<std::string> g_loading_wallet_set GUARDED_BY(g_loading_wallet_mutex);
static std::set<std::string> g_unloading_wallet_set GUARDED_BY(g_wallet_release_mutex);