GATEverse
← GATE IT 2004

Q63

MCQ2 marks, −0.5

In a certain operating system, deadlock prevention is attempted using the following scheme. Each process is assigned a unique timestamp, and is restarted with the same timestamp if killed. Let PhP_h be the process holding a resource R,PrR, P_r be a process requesting for the same resource R,R, and T(Ph)T(P_h) and T(Pr)T(P_r) be their timestamps respectively. The decision to wait or preempt one of the processes is based on the following algorithm. if T(Pr) < T(Ph) then kill Pr else wait Which one of the following is TRUE?

Sign in to save attempts.

Loading…