X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/blobdiff_plain/0caecdf74ead0d19cc3b13eeb96dcd206243d71e..0433449947b08247ca57c84e32f547c35e351145:/src/mc/LivenessChecker.cpp diff --git a/src/mc/LivenessChecker.cpp b/src/mc/LivenessChecker.cpp index 2ea5b2285b..537dd9bf74 100644 --- a/src/mc/LivenessChecker.cpp +++ b/src/mc/LivenessChecker.cpp @@ -30,6 +30,7 @@ #include "src/mc/mc_safety.h" #include "src/mc/mc_exit.h" #include "src/mc/Transition.hpp" +#include "src/mc/Session.hpp" XBT_LOG_NEW_DEFAULT_SUBCATEGORY(mc_liveness, mc, "Logging specific to algorithms for liveness properties verification"); @@ -158,7 +159,6 @@ void LivenessChecker::removeAcceptancePair(int pair_num) void LivenessChecker::prepare(void) { - mc_model_checker->wait_for_requests(); initial_global_state->snapshot = simgrid::mc::take_snapshot(0); initial_global_state->prev_pair = 0; @@ -219,8 +219,7 @@ void LivenessChecker::replay() state.get()); } - mc_model_checker->handle_simcall(state->transition); - mc_model_checker->wait_for_requests(); + this->getSession().execute(state->transition); } /* Update statistics */