Deadlock Detection and Recovery

0
209

In this topic, you will learn about, Deadlock Detection and Recovery.

Deadlock detection and recovery: Detection of Deadlock is the most practical policy. Which being both liberal and cost-efficient than most operating system deploys.

To detect a deadlock, we must go about in a recursive manner and simulate the most favored execution of each unblocked process.

  1. An unblocked process may occur all the needed resources and will execute.
  2. It will then release all the occurred resources and rename the dormant thereafter.
  3. Now released resources may wake up some previously blocked process.
  4. Continue the above states as long as possible.
  5. If any blocked processes remain, they are deadlocked.

Comment below if you have queries related to the above topic, Deadlock Detection and Recovery.

LEAVE A REPLY

Please enter your comment!
Please enter your name here