> Are you sure it's not "last = resume(prev, next);"?
>
> -- Pete
switch_to is called in context_switch as follows:
switch_to(prev, next, prev);
At the moment it doesn't matter but thinking about the
meaning of the parameter names your are probably right.
This should better be last = resume(prev, next).
blue skies,
Martin