comparison OrthancServer/Scheduler/ServerScheduler.cpp @ 999:db18c071fbd7 lua-scripting

store-scu filter
author Sebastien Jodogne <s.jodogne@gmail.com>
date Fri, 04 Jul 2014 14:09:53 +0200
parents 8c67382f44a7
children 13e230bbd882
comparison
equal deleted inserted replaced
998:4136fab6a639 999:db18c071fbd7
269 269
270 return (status == JobStatus_Success); 270 return (status == JobStatus_Success);
271 } 271 }
272 272
273 273
274 bool ServerScheduler::SubmitAndWait(ServerJob& job)
275 {
276 ListOfStrings ignoredSink;
277 return SubmitAndWait(ignoredSink, job);
278 }
279
280
274 bool ServerScheduler::IsRunning(const std::string& jobId) 281 bool ServerScheduler::IsRunning(const std::string& jobId)
275 { 282 {
276 boost::mutex::scoped_lock lock(mutex_); 283 boost::mutex::scoped_lock lock(mutex_);
277 return jobs_.find(jobId) != jobs_.end(); 284 return jobs_.find(jobId) != jobs_.end();
278 } 285 }