Professional Documents
Culture Documents
Processes PDF
Processes PDF
com 1
PROCESSES
www.eazynotes.com 24/01/2011
Process
3
www.eazynotes.com 24/01/2011
Process States
4
www.eazynotes.com 24/01/2011
Process States
5
www.eazynotes.com 24/01/2011
Process States
6
New:
A process that has just been created.
Ready:
The process is ready to be executed.
Running:
Theprocess whose instructions are being
executed is called running process.
www.eazynotes.com 24/01/2011
Process States
7
Waiting:
The process is waiting for some event to occur such
as completion of I/O operation.
Terminated:
The process has finished its execution.
www.eazynotes.com 24/01/2011
Process Control Block (PCB)
8
www.eazynotes.com 24/01/2011
Process Control Block (PCB)
9
www.eazynotes.com 24/01/2011
Process Control Block (PCB)
10
www.eazynotes.com 24/01/2011
Process Control Block (PCB)
11
www.eazynotes.com 24/01/2011
Process Control Block (PCB)
12
www.eazynotes.com 24/01/2011
Process Scheduling
13
www.eazynotes.com 24/01/2011
Process Scheduling
15
www.eazynotes.com 24/01/2011
Scheduling Queues
16
www.eazynotes.com 24/01/2011
Scheduling Queues
17
Job Queue:
As the process enter the system, it is put into a
job queue. This queue consists of all processes in
the system.
Ready Queue:
Itis a doubly linked list of processes that are
residing in the main memory and are ready to run.
www.eazynotes.com 24/01/2011
Scheduling Queues
18
Device Queue:
Itcontains all those processes that are waiting for
a particular I/O device.
Each device has its own device queue.
www.eazynotes.com 24/01/2011
Scheduling Queues
19
www.eazynotes.com 24/01/2011
Context Switch
20
www.eazynotes.com 24/01/2011
22 www.eazynotes.com 24/01/2011