2. Deadlocks. For each of the following transaction sets, say whether they can run into a deadlock on the common schedul
Posted: Sun May 15, 2022 1:33 pm
2. Deadlocks. For each of the following transaction sets, say whether they can run into a deadlock on the common scheduler. If yes, give a possible partial schedule for them that leads to a deadlock. If no, give a reason why they cannot run into a deadlock. (a) TA1: r1[x], r1[y], w1[x], c1 TA2: r2[y], r2[x], w2[x], c2 (b) TA1: R1[x], R1[y], w1[x], c1 TA2: r2[y], r2[x], w2[x], c2 (C) TA1: R1[x], r1[y], w1[x], c1 TA2: r2[y], r2[x], w2[x], c2 [12 marks]