From: markls Date: Sun, 2 Sep 2007 09:39:55 +0000 (+0000) Subject: SIMIX_process_resume needed to signal cond after resuming surf action. X-Git-Tag: v3.3~1228 X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/commitdiff_plain/520753601375d3841d10b558e66dc204a3b7ec83 SIMIX_process_resume needed to signal cond after resuming surf action. git-svn-id: svn+ssh://scm.gforge.inria.fr/svn/simgrid/simgrid/trunk@4132 48e7efb5-ca39-0410-a469-dd3cf9ba447f --- diff --git a/src/simix/smx_process.c b/src/simix/smx_process.c index f8d833772f..c6516fc2d8 100644 --- a/src/simix/smx_process.c +++ b/src/simix/smx_process.c @@ -350,9 +350,9 @@ void SIMIX_process_resume(smx_process_t process) simdata->suspended = 0; c = simdata->cond; xbt_fifo_foreach(c->actions, i, act, smx_action_t) { - surf_workstation_model->common_public->resume(act->simdata-> - surf_action); + surf_workstation_model->common_public->resume(act->simdata->surf_action); } + SIMIX_cond_signal(c); return; } else { simdata->suspended = 0;