next up previous
Next: resched Up: Xinu Mechanism for Previous: Xinu Mechanism for

Ready List

The ready processes in the system are kept in a `queue' called the ready list. This list is sorted by the priority of the processes; the lowest priority process appears at the head of the list and the highest priority process is at the tail. Processes of the same priority are sorted by the order in which they are to get service. Thus when a new process is inserted, it is inserted not at the end of the list, but at a point determined by its priority. The current process is not on this list, its id is stored in a global integer variable called currpid.



Prasun Dewan
Tue Jan 20 11:58:31 EST 2004