X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/blobdiff_plain/28fd49f9900e7a8424f38cafd21682f8c732ed42..e51ea751d20f2437b9b350a3bab1db3c257fb54f:/src/simix/smx_host.c diff --git a/src/simix/smx_host.c b/src/simix/smx_host.c index 01a4de8831..d3be3ca9d7 100644 --- a/src/simix/smx_host.c +++ b/src/simix/smx_host.c @@ -299,7 +299,7 @@ void SIMIX_pre_host_execution_wait(smx_simcall_t simcall) { smx_action_t action = simcall->host_execution_wait.execution; - XBT_DEBUG("Wait for execution of action %p, state %d", action, action->state); + XBT_DEBUG("Wait for execution of action %p, state %d", action, (int)action->state); /* Associate this simcall to the action */ xbt_fifo_push(action->simcalls, simcall); @@ -326,7 +326,7 @@ void SIMIX_host_execution_suspend(smx_action_t action) void SIMIX_host_execution_resume(smx_action_t action) { if(action->execution.surf_exec) - surf_workstation_model->suspend(action->execution.surf_exec); + surf_workstation_model->resume(action->execution.surf_exec); } void SIMIX_execution_finish(smx_action_t action) @@ -355,7 +355,7 @@ void SIMIX_execution_finish(smx_action_t action) default: xbt_die("Internal error in SIMIX_execution_finish: unexpected action state %d", - action->state); + (int)action->state); } simcall->issuer->waiting_action = NULL; simcall->host_execution_wait.result = action->state;