Which technique prevents deadlock by ensuring that at least one of the four necessary deadlock conditions can never hold?

Options

  • A. Deadlock prevention
  • B. Deadlock detection
  • C. Deadlock recovery
  • D. More than one of the above
  • E. None of the above

Correct Answer (Detailed Explanation is Below)

A. Deadlock prevention

Detailed Explanation

Explanation: Deadlock prevention works by structurally eliminating at least one of the four necessary conditions. For example, requiring a process to request all resources at once can eliminate the hold-and-wait condition.