# HG changeset patch # User Sebastien Jodogne # Date 1617468974 -7200 # Node ID 5744f09b0b1b2d64c0936f220606672f1d32dcfe # Parent 1ad9118b0717bd9528476f1e146809dcdd396c61 note diff -r 1ad9118b0717 -r 5744f09b0b1b Framework/Plugins/DatabaseBackendAdapterV2.cpp --- a/Framework/Plugins/DatabaseBackendAdapterV2.cpp Sat Apr 03 18:31:21 2021 +0200 +++ b/Framework/Plugins/DatabaseBackendAdapterV2.cpp Sat Apr 03 18:56:14 2021 +0200 @@ -55,6 +55,15 @@ class DatabaseBackendAdapterV2::Adapter : public boost::noncopyable { private: + /** + * The "managerMutex_" should not be necessary, as it is redundant + * with with "Orthanc::ServerIndex::mutex_" (the global mutex) in + * Orthanc <= 1.9.1, or with + * "Orthanc::OrthancPluginDatabase::mutex_" in Orthanc >= 1.9.2 + * (the global mutex limited to backward compatibility with older + * plugins). It is left here for additional safety. + **/ + std::unique_ptr backend_; boost::mutex managerMutex_; std::unique_ptr manager_;