Operating System

1:

The methods for dealing with the deadlock problem is

A.

Use a protocol to make sure that the system never enters in to the deadlock state.

B.

Allow the system to enter a deadlock state and then recover.

C.

Ignore the problem, and pretend that deadlocks never occur in the system. The UNIX operating system uses this solution.

D.

all of these

 

Answer : D

Explanation :

Methods for Handling Deadlocks

  • Deadlock Detection.
    • Always grant resource request when possible. Periodically check for deadlocks. If a deadlock exists, recover from it.

  • 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.

  • Ignore the problem

    • Makes sense if the likelihood is very low.

Write your comments here:


Report Error
 

Option: A

Explanation : Explanation will come here. Explanation will come here. Explanation will come here. Explanation will come here. Explanation will come here.