Chapter03 p1
Chapter03 p1
Systems:
Internals
and Design Chapter 3
Principles Process Description
and Control
BALOYI VR
OS Management of
Application Execution
Resources are made available
Processor is switched
Processor and I/O devices
Process Elements
Two essential elements of a process are:
Program code
identifier
program
state priority
counter
the behavior of an
individual process small program
by listing the that switches the
sequence of processor from
instructions that one process to
execute for that another
process
Figure 3.3
Combined
Trace of
Processes
of
Figure 3.2
Figure 3.4
Two-State Process Model
A process may be in one of two states:
running
not-running
Queuing Diagram
Table 3.1 Reasons for Process
Creation
Process Creation
Process
spawning Parent process Child process
when none of the processes in main memory is in the Ready state, the
OS swaps one of the blocked processes out on to disk into a suspend
queue
One Suspend State
Two Suspend States
The process is not The process may or may
immediately available not be waiting on an
for execution event