Selecting a Victim in Resource Preemption.

Q1. Explain Deadlock Recovery Method of Selecting Victim in Resource Preemption.

Ans. Which resources and which processes are to be preempted? As in process termination, we must determine the order of preemption to minimize cost. Cost factors may include such parameters as the number of resources a deadlocked process is holding and the amount of time the process has thus far consumed during its execution.


Leave a Reply

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

%d bloggers like this: