X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/blobdiff_plain/28fd49f9900e7a8424f38cafd21682f8c732ed42..1afd0358e32467f6e33a233e16355a26e21215c4:/src/simix/smx_process.c diff --git a/src/simix/smx_process.c b/src/simix/smx_process.c index 048f5c3ec7..e830985671 100644 --- a/src/simix/smx_process.c +++ b/src/simix/smx_process.c @@ -56,7 +56,7 @@ void SIMIX_process_cleanup(smx_process_t process) if (action->comm.src_proc == process) { XBT_DEBUG("Found an unfinished send comm %p (detached = %d), state %d, src = %p, dst = %p", - action, action->comm.detached, action->state, action->comm.src_proc, action->comm.dst_proc); + action, action->comm.detached, (int)action->state, action->comm.src_proc, action->comm.dst_proc); action->comm.src_proc = NULL; if (action->comm.detached) { @@ -76,7 +76,7 @@ void SIMIX_process_cleanup(smx_process_t process) } else if (action->comm.dst_proc == process){ XBT_DEBUG("Found an unfinished recv comm %p, state %d, src = %p, dst = %p", - action, action->state, action->comm.src_proc, action->comm.dst_proc); + action, (int)action->state, action->comm.src_proc, action->comm.dst_proc); action->comm.dst_proc = NULL; if (action->comm.detached && action->comm.refcount == 1 @@ -306,7 +306,7 @@ void SIMIX_process_killall(smx_process_t issuer) } } - SIMIX_context_runall(simix_global->process_to_run); + SIMIX_context_runall(); SIMIX_process_empty_trash(); } @@ -370,7 +370,7 @@ void SIMIX_process_suspend(smx_process_t process, smx_process_t issuer) default: xbt_die("Internal error in SIMIX_process_suspend: unexpected action type %d", - process->waiting_action->type); + (int)process->waiting_action->type); } } } @@ -410,7 +410,7 @@ void SIMIX_process_resume(smx_process_t process, smx_process_t issuer) default: xbt_die("Internal error in SIMIX_process_resume: unexpected action type %d", - process->waiting_action->type); + (int)process->waiting_action->type); } } else {