X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/blobdiff_plain/5e7ea743f4e41c8fb6e0c1cce87df1ff8804a82a..dc0b836b646303e8a540d20d9e86ecd4049bb372:/src/mc/mc_state.cpp?ds=sidebyside diff --git a/src/mc/mc_state.cpp b/src/mc/mc_state.cpp index 566d98db3c..510a7dee23 100644 --- a/src/mc/mc_state.cpp +++ b/src/mc/mc_state.cpp @@ -187,7 +187,7 @@ static inline smx_simcall_t MC_state_get_request_for_process( if (procstate->state != MC_INTERLEAVE && procstate->state != MC_MORE_INTERLEAVE) return nullptr; - if (!MC_process_is_enabled(process)) + if (!simgrid::mc::process_is_enabled(process)) return nullptr; switch (process->simcall.call) { @@ -197,8 +197,8 @@ static inline smx_simcall_t MC_state_get_request_for_process( while (procstate->interleave_count < read_length(mc_model_checker->process(), remote(simcall_comm_waitany__get__comms(&process->simcall)))) { - if (MC_request_is_enabled_by_idx - (&process->simcall, procstate->interleave_count++)) { + if (simgrid::mc::request_is_enabled_by_idx(&process->simcall, + procstate->interleave_count++)) { *value = procstate->interleave_count - 1; break; } @@ -220,8 +220,8 @@ static inline smx_simcall_t MC_state_get_request_for_process( while (procstate->interleave_count < read_length(mc_model_checker->process(), remote(simcall_comm_testany__get__comms(&process->simcall)))) - if (MC_request_is_enabled_by_idx - (&process->simcall, procstate->interleave_count++)) { + if (simgrid::mc::request_is_enabled_by_idx(&process->simcall, + procstate->interleave_count++)) { *value = procstate->interleave_count - 1; break; }