Question: Using a time stamping technique to prevent deadlock from occurring we
ID: 3547322 • Letter: Q
Question
Question:
Explanation / Answer
by wait-die here--- Ti request Tj if TS(Ti)<TS(Tj)--Ti will wait else Ti will rollback
a) T1 will wait
b)T2 will wait
c)T4 will rollback
d)T4 will wait
by wound or wait here---
Ti request Tj
if TS(Ti)<TS(Tj)-- Tj will rollback ( Tj is woundedbyTi )
else Ti will wait
a)then the data item will be preempted fromT3 to T1, andT3 will be rolled back.
b)then the data item will be preempted fromT1 to T2, andT1 will be rolled back.
c)T4 will be wait
d)then the data item will be preempted fromT3 to T4 , and T3 will be rolled back.
Related Questions
Hire Me For All Your Tutoring Needs
Integrity-first tutoring: clear explanations, guidance, and feedback.
Drop an Email at
drjack9650@gmail.com
drjack9650@gmail.com
Navigate
Integrity-first tutoring: explanations and feedback only — we do not complete graded work. Learn more.