Professional Documents
Culture Documents
CH 3
CH 3
• Process Concept
• Process Scheduling
• Operations on Processes
• Interprocess Communication
©Ahmed Operating 1
Hagag Systems
Process Concept (1/3)
©Ahmed Operating 2
Hagag Systems
Process Concept (2/3)
©Ahmed Operating 3
Hagag Systems
Process Concept (3/3)
©Ahmed Operating 4
Hagag Systems
Process Elements (1/2)
©Ahmed Operating 5
Hagag Systems
Process Elements (2/2)
• Process in Memory
©Ahmed Operating 6
Hagag Systems
Process Control Block (PCB) (1/2)
©Ahmed Operating 7
Hagag Systems
Process Control Block (PCB) (2/2)
©Ahmed Operating 8
Hagag Systems
Process Control Block (PCB) (2/2)
©Ahmed Operating 9
Hagag Systems
Process Control Block (PCB) (2/2)
©Ahmed Operating 11
Hagag Systems
Process State (2/3)
©Ahmed Operating 12
Hagag Systems
Process State (3/3)
©Ahmed Operating 13
Hagag Systems
Process State (3/3)
©Ahmed Operating 14
Hagag Systems
Process State (3/3)
©Ahmed Operating 15
Hagag Systems
Process State (3/3)
©Ahmed Operating 16
Hagag Systems
Process State (3/3)
©Ahmed Operating 17
Hagag Systems
Process State (3/3)
©Ahmed Operating 18
Hagag Systems
CPU Switch From Process to Process
©Ahmed Operating 19
Hagag Systems
Process Scheduling (1/2)
©Ahmed Operating 20
Hagag Systems
Process Scheduling (2/2)
©Ahmed Operating 21
Hagag Systems
Schedulers (1/2)
©Ahmed Operating 22
Hagag Systems
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
©Ahmed Operating 23
Hagag Systems
Interprocess Communication (1/2)
©Ahmed Operating 24
Hagag Systems
Interprocess Communication (2/2)
©Ahmed Operating 25
Hagag Systems