0 Members and 1 Guest are viewing this topic.
AmigaOS multitasking is nice and simple. You have an interrupt that fires every 4/50th of a second, every time that interrupt occurs, the exec scheduler looks at the "ready list" (a list of tasks that are ready to run), if any of those tasks have a priority that is equal to or higher than the currently running task, then that task replaces the currently running task. This process is repeated in a "round robin" style approach so that all tasks at te same priority will execute, one after another.If a task gives up it's execution slot, by waiting for an external event or system, then the scheduler will go back to the ready list and execute the next ready task! Simple