(C) 1998 AROS - The Amiga Research OS


NAME
#include <proto/exec.h>

void Switch ()

LOCATION
In SysBase at offset 9

SYNOPSIS

FUNCTION
Switch to the next task which wishes to be run. This function has a similar effect to calling Dispatch(), however it may be called at any time, and will not lose the current task if it is of type TS_RUN.

INPUTS
RESULT

EXAMPLE

SEE ALSO
Dispatch(), Reschedule()

NOTES
This function will preserve all its registers.

BUGS

INTERNALS
If you want to have this function save all its registers, you should replace this function in $(KERNEL) or $(ARCH).

HISTORY
15.12.1998 bergers
Fixed the multitasking bug for now. Added some more comments.
20.10.1998 hkiel
Amiga Research OS
07.08.1997 digulla
Fixed typo
05.08.1997 iaint
Kernel Changes - These are mostly functions which are normally implemented by the kernel, but might not be.