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

Method get_result

test/test.cpp:339–342  ·  view source on GitHub ↗

Get the current result (either \a EXIT_SUCCESS or \a EXIT_FAILURE). Requires all threads to be done first.

Source from the content-addressed store, hash-verified

337
338 /// Get the current result (either \a EXIT_SUCCESS or \a EXIT_FAILURE). Requires all threads to be done first.
339 int get_result() {
340 assert(running_threads.load() == 0);
341 return result.load();
342 }
343
344 /** Wait for test-runners to be completed.
345 *

Callers 1

run_tests_parallelFunction · 0.80

Calls 1

loadMethod · 0.80

Tested by

no test coverage detected