From: Christophe ThiƩry Date: Mon, 25 Jul 2011 12:17:18 +0000 (+0200) Subject: SIMIX: clean the processes trash after each scheduling round. X-Git-Tag: v3_6_2~188^2~12 X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/commitdiff_plain/c1074c3f3469abf76ed140c8c87271922a88a14f SIMIX: clean the processes trash after each scheduling round. --- diff --git a/src/simix/smx_global.c b/src/simix/smx_global.c index b4de7e8266..786790263e 100644 --- a/src/simix/smx_global.c +++ b/src/simix/smx_global.c @@ -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) {