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:
- 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.
- 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.