Guardian Programmer's Guide

Table Of Contents
Creating and Managing Processes
Guardian Programmer’s Guide 421922-014
16 - 17
Process Priority
Notice that CPU time alternates between the two processes with priority 199. When
one process is suspended for I/O, the other process runs.
The only time that the process with priority 150 executes is when both of the other
processes are suspended. Additionally, the lower-priority process is immediately
suspended when a higher-priority process becomes ready.
This example does not account for the effects of system processes, nor does it show
floating priorities.
Figure 16-4. Execution Priority Example
VST083.VSD