A Demonstration On: "Deadlocks"
A Demonstration On: "Deadlocks"
Demonstration on
“DEADLOCKS”
By
Ashwini K S
Contents
• What is a deadlock?
• Examples
• Necessary conditions
• Deadlock detection
What is a Deadlock?
• A Deadlock can be defined as a situation
in which the process are unknowingly
waiting for the resources which are never
available
R3 Assigned to P3
P2 Requests P3
Continued…
Resource allocation graph
Resource allocation graph with a cycle but no deadlock.
with a deadlock.