From: cristianrosa Date: Mon, 20 Dec 2010 09:45:39 +0000 (+0000) Subject: Bugfix: return after answering the request when running in MC mode. X-Git-Tag: v3.6_beta2~626 X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/commitdiff_plain/2fee5c0d119e7ff6ea60c1e4c558dab1d913ad48 Bugfix: return after answering the request when running in MC mode. Othrewise it will answer the request twice. git-svn-id: svn+ssh://scm.gforge.inria.fr/svn/simgrid/simgrid/trunk@9299 48e7efb5-ca39-0410-a469-dd3cf9ba447f --- diff --git a/src/simix/smx_host.c b/src/simix/smx_host.c index afc406c6d2..205c46b1cb 100644 --- a/src/simix/smx_host.c +++ b/src/simix/smx_host.c @@ -311,6 +311,7 @@ void SIMIX_pre_host_execution_wait(smx_req_t req) if (MC_IS_ENABLED){ action->state = SIMIX_DONE; SIMIX_execution_finish(action); + return; } /* If the action is already finished then perform the error handling */