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

Assuming the operating system detects the system is deadlocked, what can the operating system do to recover from deadlock?

      

Assuming the operating system detects the system is deadlocked, what can the operating
system do to recover from deadlock?

  

Answers


Faith
The operating system can recover from deadlock by:
- Killing the deadlocked process (crude, and requires that it will be restarted)
- Rolling Back (going back a few instructions until it can enter a non-deadlocked state, and retry)
- Pre-emption (forcing the handing over of a resource to another process, at the expense of the one it's
currently deadlocked on)
Titany answered the question on April 26, 2022 at 09:26


Next: What are the four conditions required for deadlock to occur?
Previous: What must the banker's algorithm know a priori in order to prevent deadlock?

View More Operating Systems Questions and Answers | Return to Questions Index


Learn High School English on YouTube

Related Questions