Recovery of Deadlock through Process Termination

Q2. Explain Recovery of Deadlock through Process Termination.

Ans. To eliminate deadlocks by aborting a process, we use one of two methods. In both methods, the system reclaims all resources allocated to the terminated processes.

1. Abort all deadlocked processes

2. Abort one process at a time until the deadlock cycle is eliminated

Leave a Reply

Your email address will not be published. Required fields are marked *

236 Views
%d bloggers like this: