Multitasking
This message turned up in search, but its forum couldn’t be identified from the original transcript, so it may not be linked into its thread.
From what I recall there isn't much overhead other than saving and
reloading the 68K registers. The balance of the rest of the task switch is
figuring out which task/process gets run next.
If a task doesn't do a wait() it will run for up to 4 frames (1/15
second) with out interruption (ignoring interrupts such as vblank). If it does
a wait() it will run for less. (That is why it is important to use wait(), it
increases the overall performance of the system.)
Dan