Get premium membership and access questions with answers, video lessons as well as revision papers.

Explain 4 approaches that can be employed to recover from deadlocks.

      

Explain 4 approaches that can be employed to recover from deadlocks.

  

Answers


Chei
i)preemption;take a resource from one process and give it to other,this will resolve the deadlock situations.
ii)roll back;in situation where deadlock is a real possibility,rolling back everything back to the last checkpoint and restart,but allocating resources differently so that a deadlock does not occur.
iii)kill one or more processes;is the simplest way which works very fast.


Softwaretech answered the question on April 23, 2019 at 10:21


Next: Outline four basics operations associated with a change in state of a process
Previous: List and explain various ways to overcome deadlocks

View More Computer Studies Questions and Answers | Return to Questions Index


Learn High School English on YouTube

Related Questions