diff OrthancServer/ServerIndex.cpp @ 310:6ab6cdeedf4e

global sequences
author Sebastien Jodogne <s.jodogne@gmail.com>
date Fri, 21 Dec 2012 11:18:27 +0100
parents 326d5a4a5af3
children 26efccdff583
line wrap: on
line diff
--- a/OrthancServer/ServerIndex.cpp	Fri Dec 21 10:49:15 2012 +0100
+++ b/OrthancServer/ServerIndex.cpp	Fri Dec 21 11:18:27 2012 +0100
@@ -1069,4 +1069,11 @@
       return false;
     }
   }
+
+
+  uint64_t ServerIndex::IncrementGlobalSequence(GlobalProperty sequence)
+  {
+    boost::mutex::scoped_lock lock(mutex_);
+    return db_->IncrementGlobalSequence(sequence);
+  }
 }