https://gateoverflow.in/39703/gate2016-1-51
In this question What if the transactions T1 and T2 are scheduled in this manner
X1(A)X1(B)X2(C)X2(D)S1(C)S2(A)….
will this schedule cause deadlock according to the implementation of the above question ?
here X1(P) is exclusive lock on data variable P by transaction T1 and S1(P) is shared lock on P by transaction T1.