There are four approaches for deadlock solution.1. Deadlock prevention, 2. Deadlock avoidance, 3. Deadlock detection, 4. Deadlock recovery
Deadlock Solution
AU:
May-22
There are four approaches for deadlock
solution.
1.
Deadlock prevention
2. Deadlock avoidance
3.
Deadlock detection
4.
Deadlock recovery
• In deadlock prevention, aim is to
condition a system to remove any possibility of deadlock occuring. Poor
resource utilization may be possible.
• Avoidance
Deadlocks can be avoided by clearly identifying safe states and unsafe states:
•
Detection Deadlock
detection methods are used in systems in which deadlocks can
occur.
•
Recovery: Used to
resolve the deadlock from a system.
•
Deadlock prevention and detection
algorithm is used for ignoring the deadlock.
University
Question
1. Discuss about the various methods for handling
deadlock.
Introduction to Operating Systems: Unit II(b): Deadlock : Tag: : Deadlock - Introduction to Operating Systems - Deadlock Solution
Introduction to Operating Systems
CS3451 4th Semester CSE Dept | 2021 Regulation | 4th Semester CSE Dept 2021 Regulation