Mercurial > hg > orthanc
comparison Core/JobsEngine/Operations/SequenceOfOperationsJob.cpp @ 3658:2d90dd30858c storage-commitment
providing job ID to the IJob::Step() methods
author | Sebastien Jodogne <s.jodogne@gmail.com> |
---|---|
date | Mon, 10 Feb 2020 16:44:26 +0100 |
parents | 94f4a18a79cc |
children | 56f2397f027a |
comparison
equal
deleted
inserted
replaced
3657:115f82775c46 | 3658:2d90dd30858c |
---|---|
317 a.AddNextOperation(b, false /* not unserializing */); | 317 a.AddNextOperation(b, false /* not unserializing */); |
318 } | 318 } |
319 } | 319 } |
320 | 320 |
321 | 321 |
322 JobStepResult SequenceOfOperationsJob::Step() | 322 JobStepResult SequenceOfOperationsJob::Step(const std::string& jobId) |
323 { | 323 { |
324 boost::mutex::scoped_lock lock(mutex_); | 324 boost::mutex::scoped_lock lock(mutex_); |
325 | 325 |
326 if (current_ == operations_.size()) | 326 if (current_ == operations_.size()) |
327 { | 327 { |