Welcome, Guest. Please login or register.

Author Topic: multitasking  (Read 1954 times)

Description:

0 Members and 1 Guest are viewing this topic.

Offline stefcep2

  • Hero Member
  • *****
  • Join Date: Sep 2007
  • Posts: 1467
    • Show all replies
Re: multitasking
« on: July 16, 2013, 02:19:52 PM »
Quote from: bloodline;740914
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 :)


So Executive would change this round robin process?