MCPcopy Create free account
hub / github.com/Gecode/gecode / run

Method run

gecode/support/run-jobs.hpp:236–248  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

234
235 template<class Jobs, class RetType>
236 void
237 RunJobs<Jobs,RetType>::Worker::run(void) {
238 do {
239 try {
240 RetType r = job->run(idx);
241 master->report(r);
242 } catch (JobStop<RetType>& js) {
243 master->stop(js.result(),idx);
244 }
245 delete job;
246 job = master->next(idx);
247 } while (job != nullptr);
248 }
249
250 template<class Jobs, class RetType>
251 forceinline bool

Callers

nothing calls this directly

Calls 9

reportMethod · 0.45
stopMethod · 0.45
resultMethod · 0.45
nextMethod · 0.45
acquireMethod · 0.45
releaseMethod · 0.45
emptyMethod · 0.45
popMethod · 0.45
waitMethod · 0.45

Tested by

no test coverage detected