diff OrthancServer/Sources/ServerJobs/ThreadedSetOfInstancesJob.cpp @ 5137:15109c3f0f7d

added sanity checks in DicomModificationJob + automatically reconstruct resources at the end of a DicomModificationJob
author Alain Mazy <am@osimis.io>
date Wed, 18 Jan 2023 17:58:51 +0100
parents e71b22a43c0b
children df040c83796c
line wrap: on
line diff
--- a/OrthancServer/Sources/ServerJobs/ThreadedSetOfInstancesJob.cpp	Tue Jan 17 17:54:38 2023 +0100
+++ b/OrthancServer/Sources/ServerJobs/ThreadedSetOfInstancesJob.cpp	Wed Jan 18 17:58:51 2023 +0100
@@ -459,6 +459,12 @@
     keepSource_ = keep;
   }
 
+  bool ThreadedSetOfInstancesJob::IsKeepSource() const
+  {
+    boost::recursive_mutex::scoped_lock lock(mutex_);
+
+    return keepSource_;
+  }
 
   float ThreadedSetOfInstancesJob::GetProgress()
   {