diff OrthancServer/Sources/ServerIndex.cpp @ 4594:d494b4f1103e db-changes

removed the global database mutex from ServerIndex and StatelessDatabaseOperations
author Sebastien Jodogne <s.jodogne@gmail.com>
date Tue, 16 Mar 2021 12:43:43 +0100
parents ff8170d17d90
children 67d112ef680f
line wrap: on
line diff
--- a/OrthancServer/Sources/ServerIndex.cpp	Mon Mar 15 18:22:53 2021 +0100
+++ b/OrthancServer/Sources/ServerIndex.cpp	Tue Mar 16 12:43:43 2021 +0100
@@ -242,6 +242,8 @@
 
     virtual ITransactionContext* Create()
     {
+      // There can be concurrent calls to this method, which is not an
+      // issue because we simply create an object
       return new TransactionContext(context_);
     }
   };