For a deadlock to occur what are the necessary conditions
Answer Posted / Satyendra Kumar Tiwari
For deadlock to occur in an operating system, four necessary conditions must be satisfied: 1) Mutual Exclusion: At least one resource must be held in a non-shareable mode. 2) Hold and Wait: A process holding at least one resource is waiting to acquire additional resources being held by another process. 3) No Preemption: No resource can be forcibly taken away from the current holder (resources are only released voluntarily). 4) Circle Wait: A circular chain of waiting processes, each one holding at least one resource and waiting for a resource that the next process in the circle holds.
| Is This Answer Correct ? | 0 Yes | 0 No |
Post New Answer View All Answers