Consider the following declaration.

Transaction T5Transaction T6
Lock X(A)Lock X(Sum)
Read(A)Sum := 0
A := A - 100Lock(A)
Write(A)Read(A)
Unblock(A)Sum := Sum + A
Lock X(B)Unlock(A)
Read(B)Lock(B)
B := B + 100Read(B)
Write(B)Sum := SUm + B
Unlock(B)Write(Sum)
 Unlock(B)
 Unlock(Sum)

 If the lock in this schedule is update or write lock then such locking is also called a ____________________

Exclusive Locking

Shared Locking

Both (A) and (B)

None of the above

Did not found what you are looking for, Ask your doubt or Help by your contribution

Enter your search keyword:

Search form

Wait!

Here is a chance to join biggest community of technical Students,
Tutors with FREE learning resources and so much more.
It takes less then 60 seconds.