comparison 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
comparison
equal deleted inserted replaced
5136:e71b22a43c0b 5137:15109c3f0f7d
457 } 457 }
458 458
459 keepSource_ = keep; 459 keepSource_ = keep;
460 } 460 }
461 461
462 bool ThreadedSetOfInstancesJob::IsKeepSource() const
463 {
464 boost::recursive_mutex::scoped_lock lock(mutex_);
465
466 return keepSource_;
467 }
462 468
463 float ThreadedSetOfInstancesJob::GetProgress() 469 float ThreadedSetOfInstancesJob::GetProgress()
464 { 470 {
465 boost::recursive_mutex::scoped_lock lock(mutex_); 471 boost::recursive_mutex::scoped_lock lock(mutex_);
466 472