From: cristianrosa Date: Thu, 20 Jan 2011 15:45:26 +0000 (+0000) Subject: Bugfix: return after answering the sleep request when running in MC mode. X-Git-Tag: v3.6_beta2~470 X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/commitdiff_plain/8d59adfabac177456e394d2044486cc6524205e7?hp=42cdb08adb14105f0a0398e9ede13ed3148cbcdc Bugfix: return after answering the sleep request when running in MC mode. git-svn-id: svn+ssh://scm.gforge.inria.fr/svn/simgrid/simgrid/trunk@9459 48e7efb5-ca39-0410-a469-dd3cf9ba447f --- diff --git a/src/simix/smx_process.c b/src/simix/smx_process.c index e182d8dfb5..094a05d67c 100644 --- a/src/simix/smx_process.c +++ b/src/simix/smx_process.c @@ -424,6 +424,7 @@ void SIMIX_pre_process_sleep(smx_req_t req) NOW += req->process_sleep.duration; req->process_sleep.result = SIMIX_DONE; SIMIX_request_answer(req); + return; } smx_action_t action = SIMIX_process_sleep(req->issuer, req->process_sleep.duration); xbt_fifo_push(action->request_list, req);