SIMIX_context_stop(process->context);
} else {
- DEBUG4("%s(%p) here! killing %s(%p) %s",
+ DEBUG4("%s(%p) here! killing %s(%p)",
simix_global->current_process->name,simix_global->current_process,
process->name,process);
simix_global->current_process = new_process;
/* schedule the context */
- SIMIX_context_resume(simix_global->maestro_process->context,new_process->context);
+ SIMIX_context_resume(new_process->context);
DEBUG1("Resumed from scheduling context: '%s'", new_process->name);
/* restore the current process to the previously saved process */