Micro-Controller Operating Systems: Difference between revisions

Content deleted Content added
Picty (talk | contribs)
Remove a dead and not funcational link
figure was removed, rephrased irrelevant reference to it
Line 104:
 
===Task states===
µC/OS-III is a [[Computer multitasking|multitasking]] operating system. Each task is an infinite loop and can be in any one of the following five states (seedormant, ready, running, interrupted, or figurepending). Task priorities can range from 0 (highest priority) to a maximum of 255 (lowest possible priority).
<!-- Deleted image removed: [[File:MicroC-OS-111 task diagram.png|center|Each task is an infinite loop and can be in any one of the following five states.]] -->
 
===Round robin scheduling===
When two or more tasks have the same priority, the kernel allows one task to run for a predetermined amount of time, named a ''quantum'', and then selects another task. This process is termed [[round robin scheduling]] or time slicing. The kernel gives control to the next task in line if: