Vidyalelo
Computer Fundamentals · Q127

Operating System

Computer Related · Computer Fundamentals · question 127

Q127

What is the method of handling deadlocks?

A.
Use a protocol to ensure that the system will never enter a deadlock state
B.
Allow the system to enter the deadlock state and then recover
C.
Pretend that deadlocks never occur in the system
D.
All of the Above
Answer

Answer: Option D

Solution

Answer: Option D
Solution:
The strategy of deadlock prevention is to design the system in such a way that the possibility of deadlock is excluded. Use a protocol to ensure that the system will never enter a deadlock state. Allow the system to enter the deadlock state and then recover.