Chapter - 4 - Process and Process Management
Chapter - 4 - Process and Process Management
Concepts
CS284
Chapter 2
Process and Process Management
• Process:
• A process is an executing program, including the current values of the program
counter, registers, and variables. The subtle difference between a process and a
program is that the program is a group of instructions whereas the process is the
activity.
• In multiprogramming systems, processes are performed in a pseudo parallelism
as if each process has its own processor. In fact, there is only one processor but it
switches back and forth from process to process.
• When a process is allocated by the processor, it executes and after some time it either
finishes or passes to waiting state (for I/O). The list of processes waiting for a particular
I/O device is called a Device Queue. Each device has its own device queue.
• Process Scheduling
The process scheduling is the activity of the process manager that handles the
removal of the running process from the CPU and the selection of another process
on the basis of a particular strategy. Process scheduling is an essential part of a
Multiprogramming operating system. Such operating systems allow more than one
process to be loaded into the executable memory at a time and loaded process
shares the CPU using time multiplexing.
• Scheduling Queues