
Episode 89 - Forth
Advent of Computing
00:00
Co Operative Multi Tasking - The Risks and Downsides
Co operative multi tasking, as implemented by more, is dead simple. You have a table of tasks to run and you start the top of the list. That task runs until it says it's ready to yield the computer to other tasks. Then the next task on the list starts executing. If a task completes, then it's removed from the list. Done. Contrast this with preemptive multitasking, the premier scheme for abusing silicon. This involves a separate chunk of code that fires off at even intervals of time. Every time this code runs, it checks the task le and decides which task to stop and which task to resume. There are risks and downsides to co operative multi task
Transcript
Play full episode