- simcall_BODY_host_on(host);
-}
-
-/**
- * \ingroup simix_host_management
- * \brief Stop the host if it is on
- *
- * \param host A SIMIX host
- */
-void simcall_host_off(sg_host_t host)
-{
- simcall_BODY_host_off(host);
+ if (process != simix_global->maestro_process) {
+ XBT_DEBUG("Yield process '%s' on simcall %s (%d)", process->name,
+ SIMIX_simcall_name(process->simcall.call), (int)process->simcall.call);
+ SIMIX_process_yield(process);
+ } else {
+ SIMIX_simcall_handle(&process->simcall, 0);
+ }