AI OS Ch03
AI OS Ch03
Chapter 3: Processes
• Process Concept
• Process Scheduling
• Operations on Processes
• Interprocess Communication
Operating Systems 2
Process Concept (1/3)
Operating Systems 3
Process Concept (2/3)
Operating Systems 4
Process Concept (3/3)
Operating Systems 5
Process Elements (1/2)
Operating Systems 6
Process Elements (2/2)
• Process in Memory
Operating Systems 7
Process Control Block (PCB) (1/2)
Operating Systems 8
Process Control Block (PCB) (2/2)
Operating Systems 9
Process Control Block (PCB) (2/2)
Operating Systems 10
Process Control Block (PCB) (2/2)
Operating Systems 12
Process State (2/3)
Operating Systems 13
Process State (3/3)
Operating Systems 14
Process State (3/3)
Operating Systems 15
Process State (3/3)
Operating Systems 16
Process State (3/3)
Operating Systems 17
Process State (3/3)
Operating Systems 18
Process State (3/3)
Operating Systems 19
CPU Switch From Process to Process
Operating Systems 20
Process Scheduling (1/2)
Operating Systems 21
Process Scheduling (2/2)
Operating Systems 22
Schedulers (1/2)
Operating Systems 23
Schedulers (2/2)
• Medium-term scheduler
➢ Can be added if degree of multiple programming needs to
decrease
➢ Remove process from memory, store on disk, bring back in
from disk to continue execution: swapping
Operating Systems 24
Interprocess Communication (1/2)
Operating Systems 25
Interprocess Communication (2/2)
Operating Systems 26
Dr. Marwa Elseddik
Operating Systems 27