Practice free →
HomeGATE CSEcomputerscienceDatabase Management Systems › In the Wait-Die deadlock-prevention protocol, wh…

In the Wait-Die deadlock-prevention protocol, when T_i requests a lock held by T_j and T_i has a LARGER timestamp (younger), T_i

Adies (aborts and restarts later)
Bwounds T_j (T_j aborts and restarts)
Cwaits for T_j to release the lock
Dis granted the lock immediately
Answer & Solution
Correct answer: A. dies (aborts and restarts later)
Wait-Die rule: if the requester is younger (larger timestamp), it dies. If the requester is older (smaller timestamp), it waits. Wound-Wait flips the action: the older one wounds the younger holder. Either way, the protocol prevents the formation of any deadlock cycle.
Solve this in the app — GATE CSE practice & 24k+ MCQs →
Related questions