已知事务T1的封锁序列为:LOCK S(A)…LOCK S(B)…LOCK X(C)…UNLOCK(B);…UNLOCK(A);…UNLOCK(C)事务T2的封锁序列为:LOCK S(A);…UNLOCK(A);…LOCK S(B)…LOCK X(C);…UNLOCK(C);…UNLOCK(B)则遵守两段封锁协议的事务是()
已知事务T1的封锁序列为:LOCK S(A)…LOCK S(B)…LOCK X(C)…UNLOCK(B);…UNLOCK(A);…UNLOCK(C)事务T2的封锁序列为:LOCK S(A);…UNLOCK(A);…LOCK S(B)…LOCK X(C);…UNLOCK(C);…UNLOCK(B)则遵守两段封锁协议的事务是()
A.T1
B.T2
C.T1和T2
D.没有
正确答案:T1