What are the methods of Handling a Deadlock?

Can you provide some Deadlock Handling Methods?
Add a comment

6 replies

"Methods for Handling Deadlocks Generally speaking, we can deal with the deadlock problem in one of three ways: We can use a protocol to prevent or avoid deadlocks, ensuring that the system will never enter a deadlock state. We can allow the system to enter a deadlock state, detect it, and recover. We can ignore the problem altogether and pretend that deadlocks never occur in the system"
Add a comment
"Techniques for Coping with Deadlocks Make sure that the system will never get into a new stalemate state. Enable the technique to go in the dead end condition then retrieve. Ignore the job and also make-believe in which deadlocks certainly not happen in the machine; utilised by nearly all os's, as well as UNIX"
Add a comment