Which of the following is a possible method of recovering from a deadlock?

Options

  • A. Terminating one or more processes
  • B. Preempting resources from selected processes
  • C. Rolling back processes to a previous safe state
  • D. More than one of the above
  • E. None of the above

Correct Answer (Detailed Explanation is Below)

D. More than one of the above

Detailed Explanation

Explanation: Deadlock recovery can be performed by process termination, resource preemption, or rollback. The operating system selects an appropriate recovery method depending on the system and resource requirements.