We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents cb088b1 + 56921f9 commit 19a3a9eCopy full SHA for 19a3a9e
src/wallet/db.cpp
@@ -53,7 +53,7 @@ void CheckUniqueFileid(const BerkeleyEnvironment& env, const std::string& filena
53
}
54
55
CCriticalSection cs_db;
56
-std::map<std::string, BerkeleyEnvironment> g_dbenvs; //!< Map from directory name to open db environment.
+std::map<std::string, BerkeleyEnvironment> g_dbenvs GUARDED_BY(cs_db); //!< Map from directory name to open db environment.
57
} // namespace
58
59
BerkeleyEnvironment* GetWalletEnv(const fs::path& wallet_path, std::string& database_filename)
0 commit comments