Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
SIMIX: clean the processes trash after each scheduling round.
[simgrid.git] / src / simix / smx_global.c
index b4de7e8..7867902 100644 (file)
@@ -234,6 +234,10 @@ void SIMIX_run(void)
           SIMIX_request_post((smx_action_t) action->data);
       }
     }
+
+    /* Clean processes to destroy */
+    SIMIX_process_empty_trash();
+
   } while (time != -1.0);
 
   if (xbt_swag_size(simix_global->process_list) != 0) {