170k views
0 votes
The two ways of aborting processes and eliminating deadlocks are (choose all that apply):

a) Abort all deadlocked processes
b) Abort all processes
c) Abort one process at a time until the deadlock cycle is eliminated
d) All of these

User Loup
by
8.4k points

1 Answer

6 votes

Final answer:

The two ways of aborting processes and eliminating deadlocks are aborting all deadlocked processes and aborting one process at a time until the deadlock cycle is eliminated.

Step-by-step explanation:

The two ways of aborting processes and eliminating deadlocks are:

  1. Abort all deadlocked processes: This method involves terminating all processes involved in the deadlock. By aborting all deadlocked processes, the system can break the deadlock and allow other processes to continue.
  2. Abort one process at a time until the deadlock cycle is eliminated: This method involves selectively terminating one process at a time until the deadlock cycle is eliminated. By eliminating one process at a time, the system can gradually resolve the deadlock without disrupting all processes.

The correct answer is (c) Abort one process at a time until the deadlock cycle is eliminated.

User YoriKv
by
7.9k points