Mercurial > hg > orthanc
comparison OrthancServer/Scheduler/ServerScheduler.h @ 1453:c0bdc47165ef
code to warn about possible threading problems
author | Sebastien Jodogne <s.jodogne@gmail.com> |
---|---|
date | Thu, 02 Jul 2015 12:26:44 +0200 |
parents | 6e7e5ed91c2d |
children | b1291df2f780 |
comparison
equal
deleted
inserted
replaced
1452:b737acb13da5 | 1453:c0bdc47165ef |
---|---|
84 public: | 84 public: |
85 ServerScheduler(unsigned int maxjobs); | 85 ServerScheduler(unsigned int maxjobs); |
86 | 86 |
87 ~ServerScheduler(); | 87 ~ServerScheduler(); |
88 | 88 |
89 void Stop(); | |
90 | |
89 void Submit(ServerJob& job); | 91 void Submit(ServerJob& job); |
90 | 92 |
91 bool SubmitAndWait(ListOfStrings& outputs, | 93 bool SubmitAndWait(ListOfStrings& outputs, |
92 ServerJob& job); | 94 ServerJob& job); |
93 | 95 |