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 */
my ($name,$anc,$desc) = cleanup_ctn($1);
# build the tree, checking for name conflict
- die "ERROR: Category name conflict: $name used several times\n"
+ die "ERROR: Category name conflict: $name used several times (in $ancestor{$name} and $anc, last time in $filename)\n"
if defined ($ancestor{$name}) && $ancestor{$name} ne $anc &&
defined ($desc{$name}) && $desc{$name} ne $desc;
$ancestor{$name}=$anc;