CS604 GDB Solution Spring 2021
Solution:
According to the data we can use preempt some resources form one or more of the deadlocked processes because it is abort all deadlocked processes .it abort one processes at a time until the deadlock cycle is eliminated .
To eliminate deadlocks using resource preemption, we successively preempt some resources from processes and give these resources to other processes until the deadlock cycle is broken. As in process termination, we must determine the order of preemption to minimize cost.