Mercurial > hg > orthanc
comparison 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 |
comparison
equal
deleted
inserted
replaced
4593:60a860942c5e | 4594:d494b4f1103e |
---|---|
240 { | 240 { |
241 } | 241 } |
242 | 242 |
243 virtual ITransactionContext* Create() | 243 virtual ITransactionContext* Create() |
244 { | 244 { |
245 // There can be concurrent calls to this method, which is not an | |
246 // issue because we simply create an object | |
245 return new TransactionContext(context_); | 247 return new TransactionContext(context_); |
246 } | 248 } |
247 }; | 249 }; |
248 | 250 |
249 | 251 |