From: Arnaud Legrand Date: Fri, 4 May 2012 11:05:44 +0000 (+0200) Subject: Get rid of intrusive check now that suspend, resume and kill have been cleaned up. X-Git-Tag: v3_7~26^2~8 X-Git-Url: http://bilbo.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/commitdiff_plain/a96ecc4af219bfbc5d83047d9dab06de2cf78d65 Get rid of intrusive check now that suspend, resume and kill have been cleaned up. --- diff --git a/src/simix/smx_smurf.c b/src/simix/smx_smurf.c index c752587d3c..a66b8f45ae 100644 --- a/src/simix/smx_smurf.c +++ b/src/simix/smx_smurf.c @@ -33,10 +33,12 @@ void SIMIX_simcall_answer(smx_simcall_t simcall) XBT_DEBUG("Answer simcall %s (%d) issued by %s (%p)", SIMIX_simcall_name(simcall->call), (int)simcall->call, simcall->issuer->name, simcall->issuer); simcall->issuer->simcall.call = SIMCALL_NONE; - if(!xbt_dynar_member(simix_global->process_to_run, &(simcall->issuer))) - xbt_dynar_push_as(simix_global->process_to_run, smx_process_t, simcall->issuer); - else - DIE_IMPOSSIBLE; +/* This check should be useless and slows everyone. Reactivate if you see something + * weird in process scheduling. + */ +/* if(!xbt_dynar_member(simix_global->process_to_run, &(simcall->issuer))) */ + xbt_dynar_push_as(simix_global->process_to_run, smx_process_t, simcall->issuer); +/* else DIE_IMPOSSIBLE; */ } }