Computer Science
Lecture 11, page
Computer Science
CS377: Operating Systems
Last Class: Deadlocks
- Necessary conditions for deadlock:
– Mutual exclusion – Hold and wait – No preemption – Circular wait
- Ways of handling deadlock
– Deadlock detection and recovery – Deadlock prevention – Deadlock avoidance - Banker’s algorithm
1
Computer Science
Lecture 11, page
Computer Science
CS377: Operating Systems
Where we are in the course
- Discussed:
– Processes & Threads – CPU Scheduling – Synchronization & Deadlock
- Next up:
– Memory Management
- Yet to come:
– File Systems and I/O Storage – Distributed Systems
2