Mercurial > hg > orthanc
comparison 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 |
comparison
equal
deleted
inserted
replaced
309:ee97f0923ddd | 310:6ab6cdeedf4e |
---|---|
1067 else | 1067 else |
1068 { | 1068 { |
1069 return false; | 1069 return false; |
1070 } | 1070 } |
1071 } | 1071 } |
1072 | |
1073 | |
1074 uint64_t ServerIndex::IncrementGlobalSequence(GlobalProperty sequence) | |
1075 { | |
1076 boost::mutex::scoped_lock lock(mutex_); | |
1077 return db_->IncrementGlobalSequence(sequence); | |
1078 } | |
1072 } | 1079 } |