|<
<
39
>
>|
Serializability
This schedule (run T1 then T2) is serializable:
T1
T2
R(A)
add 50 to A
W(A)
R(B)
add 50 to B
W(B)
R(A)
multiply A by 2
W(A)
R(B)
multiply B by 2
W(B)
A: 100 → 300
B: 100 → 300
Serial execution order:
T1 < T2
.
|<
<
39
>
>|