Question: Problem 3 : 2 PL ( 4 5 Points ) Consider the following two transactions: T 3 4 :read ( A ) ; read (
Problem : PL Points
Consider the following two transactions:
:read;
read;
then :;
write
:read
read;
then :;
write
Add lock and unlock instructions to transactions and so that they observe the twophase locking protocol. points
Here are some instructions you can use:
LockSA
LockSB
LockXA
LockXB
UnlockA
UnlockB
Can the execution of these transactions result in a deadlock? Just Yes or No points
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
