X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/blobdiff_plain/a883120fb94a2ec473ac6ecfba41a69ff1846426..cc65d2b16b44aceb784687cf94626c7dca9423b4:/src/mc/mc_base.c?ds=sidebyside diff --git a/src/mc/mc_base.c b/src/mc/mc_base.c index 82ca8c6a4f..69e7e020f8 100644 --- a/src/mc/mc_base.c +++ b/src/mc/mc_base.c @@ -38,6 +38,7 @@ int MC_request_is_enabled(smx_simcall_t req) switch (req->call) { case SIMCALL_NONE: + case SIMCALL_MUTEX_LOCK: /* If MUTEX_LOCK is catched by the MC, it means that the mutex is locked by another process, thus the request shouldn't be enabled (loop until another process is executed) */ return FALSE; case SIMCALL_COMM_WAIT: