From 0433449947b08247ca57c84e32f547c35e351145 Mon Sep 17 00:00:00 2001 From: Gabriel Corona Date: Wed, 13 Apr 2016 12:05:32 +0200 Subject: [PATCH 1/1] [mc] Use Session::execute() in LivenessChecker as well --- src/mc/Checker.hpp | 1 + src/mc/LivenessChecker.cpp | 4 ++-- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/src/mc/Checker.hpp b/src/mc/Checker.hpp index 625967887e..8f7e0cc2e6 100644 --- a/src/mc/Checker.hpp +++ b/src/mc/Checker.hpp @@ -13,6 +13,7 @@ #include "src/mc/mc_forward.hpp" #include "src/mc/mc_record.h" +#include "src/mc/Session.hpp" namespace simgrid { namespace mc { diff --git a/src/mc/LivenessChecker.cpp b/src/mc/LivenessChecker.cpp index e33db3a191..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"); @@ -218,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 */ -- 2.20.1