Chapter 3: Process-Concept
Silberschatz, Galvin and Gagne ©2009
Operating System Concepts – 8th Edition,
Chapter 3: Process-Concept
3.*
Silberschatz, Galvin and Gagne ©2009
Operating System Concepts – 8th Edition
Objectives
3.*
Silberschatz, Galvin and Gagne ©2009
Operating System Concepts – 8th Edition
3.*
Silberschatz, Galvin and Gagne ©2009
Operating System Concepts – 8th Edition
Process Concept
3.*
Silberschatz, Galvin and Gagne ©2009
Operating System Concepts – 8th Edition
The Process
3.*
Silberschatz, Galvin and Gagne ©2009
Operating System Concepts – 8th Edition
Process VS Program
3.*
Silberschatz, Galvin and Gagne ©2009
Operating System Concepts – 8th Edition
Process State
3.*
Silberschatz, Galvin and Gagne ©2009
Operating System Concepts – 8th Edition
Diagram of Process State
3.*
Silberschatz, Galvin and Gagne ©2009
Operating System Concepts – 8th Edition
Process Control Block (PCB)
Values of program counter
& CPU registers must be
saved when an interrupt occurs
to allow the process to be
continued correctly afterward
3.*
Silberschatz, Galvin and Gagne ©2009
Operating System Concepts – 8th Edition
Process Control Block (PCB)
3.*
Silberschatz, Galvin and Gagne ©2009
Operating System Concepts – 8th Edition
CPU Switch From Process to Process
3.*
Silberschatz, Galvin and Gagne ©2009
Operating System Concepts – 8th Edition
3.*
Silberschatz, Galvin and Gagne ©2009
Operating System Concepts – 8th Edition
Process Scheduling
3.*
Silberschatz, Galvin and Gagne ©2009
Operating System Concepts – 8th Edition
Process Scheduling Queues
3.*
Silberschatz, Galvin and Gagne ©2009
Operating System Concepts – 8th Edition
Process Scheduling Queues (cont.)
3.*
Silberschatz, Galvin and Gagne ©2009
Operating System Concepts – 8th Edition
Representation of Process Scheduling
Queuing diagram
3.*
Silberschatz, Galvin and Gagne ©2009
Operating System Concepts – 8th Edition
Schedulers
3.*
Silberschatz, Galvin and Gagne ©2009
Operating System Concepts – 8th Edition
Schedulers (Cont)
3.*
Silberschatz, Galvin and Gagne ©2009
Operating System Concepts – 8th Edition
Medium Term Scheduling
3.*
Silberschatz, Galvin and Gagne ©2009
Operating System Concepts – 8th Edition
Addition of Medium Term Scheduling
3.*
Silberschatz, Galvin and Gagne ©2009
Operating System Concepts – 8th Edition
3.*
Silberschatz, Galvin and Gagne ©2009
Operating System Concepts – 8th Edition
Interprocess Communication
3.*
Silberschatz, Galvin and Gagne ©2009
Operating System Concepts – 8th Edition
Interprocess Communication (Cont.)
3.*
Silberschatz, Galvin and Gagne ©2009
Operating System Concepts – 8th Edition
Communications Models
Message passing
model
Shared memory model
3.*
Silberschatz, Galvin and Gagne ©2009
Operating System Concepts – 8th Edition
Message passing VS Shared memory
3.*
Silberschatz, Galvin and Gagne ©2009
Operating System Concepts – 8th Edition
End of Chapter 3
Silberschatz, Galvin and Gagne ©2009
Operating System Concepts – 8th Edition,
Some Helpful Notes
3.*
Silberschatz, Galvin and Gagne ©2009
Operating System Concepts – 8th Edition
Some Helpful Notes
3.*
Silberschatz, Galvin and Gagne ©2009
Operating System Concepts – 8th Edition