From: cristianrosa Date: Thu, 9 Dec 2010 15:31:08 +0000 (+0000) Subject: On MC mode, return immediately after handling the wait request. X-Git-Tag: v3.6_beta2~812 X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/commitdiff_plain/458b4f32d6f6ab7d7c62a56d87439b7c9c0fa1d3?ds=sidebyside On MC mode, return immediately after handling the wait request. git-svn-id: svn+ssh://scm.gforge.inria.fr/svn/simgrid/simgrid/trunk@9111 48e7efb5-ca39-0410-a469-dd3cf9ba447f --- diff --git a/src/simix/smx_network.c b/src/simix/smx_network.c index ded44f2000..edbd94080e 100644 --- a/src/simix/smx_network.c +++ b/src/simix/smx_network.c @@ -321,6 +321,7 @@ void SIMIX_pre_comm_wait(smx_req_t req) if (MC_IS_ENABLED){ action->state = SIMIX_DONE; SIMIX_comm_finish(action); + return; } /* If the action has already finish perform the error handling, */