Mercurial > hg > orthanc
comparison OrthancServer/Sources/ServerJobs/ThreadedSetOfInstancesJob.cpp @ 5310:b5c502bcaf99
added a route to DELETE /jobs/../archive
author | Alain Mazy <am@osimis.io> |
---|---|
date | Mon, 12 Jun 2023 18:42:06 +0200 |
parents | 3de0235dedb6 |
children | 9ffd6d18daf3 |
comparison
equal
deleted
inserted
replaced
5309:fb231da5c0f1 | 5310:b5c502bcaf99 |
---|---|
293 | 293 |
294 } | 294 } |
295 } | 295 } |
296 | 296 |
297 | 297 |
298 bool ThreadedSetOfInstancesJob::GetOutput(std::string &output, | |
299 MimeType &mime, | |
300 std::string& filename, | |
301 const std::string &key) | |
302 { | |
303 return false; | |
304 } | |
305 | |
306 | |
307 size_t ThreadedSetOfInstancesJob::GetInstancesCount() const | 298 size_t ThreadedSetOfInstancesJob::GetInstancesCount() const |
308 { | 299 { |
309 boost::recursive_mutex::scoped_lock lock(mutex_); | 300 boost::recursive_mutex::scoped_lock lock(mutex_); |
310 | 301 |
311 return instancesToProcess_.size(); | 302 return instancesToProcess_.size(); |