From: cristianrosa Date: Tue, 11 Jan 2011 13:30:33 +0000 (+0000) Subject: Improve debug information X-Git-Tag: v3.6_beta2~534 X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/commitdiff_plain/8275b53588fb2f78bca67abb7ef3e2944f7f6e9f Improve debug information git-svn-id: svn+ssh://scm.gforge.inria.fr/svn/simgrid/simgrid/trunk@9394 48e7efb5-ca39-0410-a469-dd3cf9ba447f --- diff --git a/src/simix/smx_process.c b/src/simix/smx_process.c index 607f0bbee0..31843beba0 100644 --- a/src/simix/smx_process.c +++ b/src/simix/smx_process.c @@ -246,7 +246,7 @@ void SIMIX_process_killall(void) SIMIX_process_kill(p, SIMIX_process_self()); SIMIX_context_runall(simix_global->process_to_run); - SIMIX_context_runall(simix_global->process_to_run); + SIMIX_process_empty_trash(); } @@ -511,8 +511,10 @@ void SIMIX_process_yield(void) /* Ok, maestro returned control to us */ DEBUG1("Maestro returned control to me: '%s'", self->name); - if (self->context->iwannadie) + if (self->context->iwannadie){ + DEBUG0("I wanna die!"); SIMIX_context_stop(self->context); + } if (self->doexception) { DEBUG0("Wait, maestro left me an exception");