Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
model-checker : fix comm destroy for send detached and MC enabled
authorMarion Guthmuller <marion.guthmuller@loria.fr>
Tue, 18 Feb 2014 13:46:55 +0000 (14:46 +0100)
committerMarion Guthmuller <marion.guthmuller@loria.fr>
Tue, 18 Feb 2014 13:46:55 +0000 (14:46 +0100)
src/simix/smx_network.c

index 7f9689a..1ca73e5 100644 (file)
@@ -445,7 +445,7 @@ smx_action_t SIMIX_comm_isend(smx_process_t src_proc, smx_rdv_t rdv,
 
   if (MC_is_active()) {
     other_action->state = SIMIX_RUNNING;
-    return other_action;
+    return (detached ? NULL : other_action);
   }
 
   SIMIX_comm_start(other_action);