Computer Science, asked by simrankumar849, 1 year ago

What are the methods of handling deadlock?

Answers

Answered by Bonzo
2
Methods for Handling Deadlocks
Deadlock Prevention.
Disallow one of the four necessary conditions for deadlock.
Deadlock Avoidance.
Do not grant a resource request if this allocation have the potential to lead to a deadlock.
Deadlock Detection.
Always grant resource request when possible. Periodically check for deadlocks. If a deadlock exists, recover from it.
Similar questions