This preview shows page 1. Sign up to view the full content.
Unformatted text preview: provides two operations for its clients: (1)
read(i) returns the value of ai; and (2) write(i; value) assigns “value” to ai. Consider the following
interleaving of transactions T, U, and V:
openTransaction write(i,77); x=read(i);
write(k,88); (a) (strict 2‐phase locking) Suppose the strict 2‐phase locking mechanism is used for concurrency control. Answer the following questions: (i)
(iv) Does U have to wait to acquire the lock for x =read(k)? Does V have to wait to a...
View Full Document
This document was uploaded on 11/11/2013.
- Fall '13