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

Method thread_done

test/test.cpp:363–367  ·  view source on GitHub ↗

Indicate that a thread is done executing.

Source from the content-addressed store, hash-verified

361
362 /// Indicate that a thread is done executing.
363 void thread_done() {
364 if (running_threads.fetch_sub(1) == 1) {
365 execution_done_event.signal();
366 }
367 }
368
369 /// Get the start of the next batch and the batch size.
370 /// Important, may be a number larger than available number of tests

Callers 1

runMethod · 0.80

Calls 1

signalMethod · 0.45

Tested by

no test coverage detected