968 views
1 votes
1 votes

Given Problem :
 

S1 can be shown allowed under 2PL.
However, the solution that they have provided for S2 :


 

 

Seems wrong, as
 

 

So, is S2 allowed under 2PL, or the answer given is incorrect?

1 Answer

Best answer
5 votes
5 votes

This is how I solved and get S2 allowed under 2PL

selected by

Related questions

1 votes
1 votes
0 answers
1
1 votes
1 votes
1 answer
2
Shivam Gupta 3 asked Aug 3, 2017
618 views
T1: r1(x)w1(x)r1(y)w1(y)T2: r2(y)w2(y)L is xclusive lock and U is unlock L1(y)L1(X)R1(Y)W1(Y)R1(X)W1(X)U1(X)U1(Y)L2(Y)R2(Y)W2(Y)U2(Y)?IS THIS SCHEDULE VALID UNDER A 2 PH...
3 votes
3 votes
1 answer
4
shivangi5 asked Dec 6, 2017
1,172 views
Consider the following schedule:S:R2(A) W1(B) W1(C) R3(B) R2(B) R1(A) C1 R2(C) C2 W3(A)C3Please explain how it is allowed in 2 PL