Question:

Consider the following transactions with data items P and Q

Last updated: 6/8/2023

Consider the following transactions with data items P and Q

Consider the following transactions with data items P and Q initialized to zero T read P read Q if P 0 then Q Q 1 write Q T read Q read P if Q 0 then P P 1 write P