Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
On MC mode, return immediately after handling the wait request.
authorcristianrosa <cristianrosa@48e7efb5-ca39-0410-a469-dd3cf9ba447f>
Thu, 9 Dec 2010 15:31:08 +0000 (15:31 +0000)
committercristianrosa <cristianrosa@48e7efb5-ca39-0410-a469-dd3cf9ba447f>
Thu, 9 Dec 2010 15:31:08 +0000 (15:31 +0000)
git-svn-id: svn+ssh://scm.gforge.inria.fr/svn/simgrid/simgrid/trunk@9111 48e7efb5-ca39-0410-a469-dd3cf9ba447f

src/simix/smx_network.c

index ded44f2..edbd940 100644 (file)
@@ -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, */