March 2003
Intermediate to advanced
912 pages
27h 17m
English
The operating system must handle many processes and will maintain a data structure holding their descriptors. This could be set up in a number of ways. The aim is that the operating system should be able to choose and run the highest-priority process as quickly as possible. Selecting a process to run on a processor is called process scheduling. The selection policy determines which process will be selected and is effected by the scheduling algorithm. Setting up a process state in the processor's registers is called dispatching. Figure 4.7 shows one possible data structure: an array or table of process descriptors; many alternatives are possible.