Recovery of Deadlock through Resource Preemption
Q3. Explain Recovery of Deadlock through Resource Preemption.
Ans. To eliminate deadlocks using resource preemption, we successively preempt some resources from processes and give them resources to other processes until the deadlock cycle is broken.
If preemption is required to deal with deadlocks, then three issues need to be addressed: