Which one of these is not a condition for Resource Deadlock?

2021

Which one of these is not a condition for Resource Deadlock?

Answer: C. PreemptionFor a deadlock to occur, four specific conditions must hold simultaneously: Mutual Exclusion (Non-shareable resources) Hold and Wait No Preemption Circular…

  1. A.

    Non-sharable resources

  2. B.

    Hold-and-wait

  3. C.

    Preemption

  4. D.

    Circular wait

Attempted by 1099 students.

Show answer & explanation

Correct answer: C

For a deadlock to occur, four specific conditions must hold simultaneously:

  1. Mutual Exclusion (Non-shareable resources)

  2. Hold and Wait

  3. No Preemption

  4. Circular Wait

  5. No Preemption is the actual condition required for deadlock. If "Preemption" is allowed, the operating system can forcibly take a resource away from a process to give it to another, which actually helps prevent or break a deadlock.

A video solution is available for this question — log in and enroll to watch it.

Explore the full course: Hpsc Pgt Computer Science

Loading lesson…