Mercurial > hg > orthanc
diff OrthancServer/Sources/ServerIndex.h @ 4581:bb3c82b8f373 db-changes
transient introduction of ServerIndex::databaseMutex_
author | Sebastien Jodogne <s.jodogne@gmail.com> |
---|---|
date | Tue, 09 Mar 2021 15:22:03 +0100 |
parents | 49f6b9a2b9f5 |
children | fb0379abb4a7 |
line wrap: on
line diff
--- a/OrthancServer/Sources/ServerIndex.h Tue Mar 09 14:49:39 2021 +0100 +++ b/OrthancServer/Sources/ServerIndex.h Tue Mar 09 15:22:03 2021 +0100 @@ -62,6 +62,7 @@ bool done_; boost::mutex monitoringMutex_; + boost::mutex databaseMutex_; // TODO - REMOVE boost::thread flushThread_; boost::thread unstableResourcesMonitorThread_; @@ -86,11 +87,6 @@ Orthanc::ResourceType type, const std::string& publicId); - void LogChange(int64_t internalId, - ChangeType changeType, - ResourceType resourceType, - const std::string& publicId); - void NormalizeLookup(std::vector<DatabaseConstraint>& target, const DatabaseLookup& source, ResourceType level) const; @@ -379,10 +375,7 @@ void LogChange(int64_t internalId, ChangeType changeType, ResourceType resourceType, - const std::string& publicId) - { - index_.LogChange(internalId, changeType, resourceType, publicId); - } + const std::string& publicId); void LogExportedResource(const ExportedResource& resource) {