Computer Science, asked by kingoffpatel01, 10 months ago

How can Deadlock be detected and what are the steps to its avoidance?​

Answers

Answered by faizeen143
1

Answer:

The OS can detect the deadlocks with the help of Resource allocation graph. In single instanced resource types, if a cycle is being formed in the system then there will definitely be a deadlock. On the other hand, in multiple instanced resource type graph, detecting a cycle is not just enough.

Mutual Exclusion. Shared resources such as read-only files do not lead to deadlocks. ...

2 Hold and Wait. ...

3 No Preemption. ...

4 Circular Wait.

Similar questions