X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/blobdiff_plain/0b7d1f86375fc32d181c2ab574eed9dadee72db6..864d17d38d2f5ffecea2c9104af9e538a25b56db:/src/mc/ModelChecker.cpp diff --git a/src/mc/ModelChecker.cpp b/src/mc/ModelChecker.cpp index bc69fbe034..6ff138a051 100644 --- a/src/mc/ModelChecker.cpp +++ b/src/mc/ModelChecker.cpp @@ -176,7 +176,7 @@ void ModelChecker::resume(simgrid::mc::Process& process) int res = process.getChannel().send(MC_MESSAGE_CONTINUE); if (res) throw simgrid::xbt::errno_error(res); - process.cache_flags = (mc_process_cache_flags_t) 0; + process.clear_cache(); } static @@ -434,7 +434,7 @@ void ModelChecker::simcall_handle(simgrid::mc::Process& process, unsigned long p m.pid = pid; m.value = value; process.getChannel().send(m); - process.cache_flags = (mc_process_cache_flags_t) 0; + process.clear_cache(); while (process.running()) if (!this->handle_events()) return;