II. (20) Deadlock.
P1 will:
Repeat
Grab x, y;
Release x, y;
End repeat.
P2 will:
Repeat
Grab x, y;
Release x, y;
End repeat.
P3 will:
Repeat
Grab y, z;
Release y, z;
End repeat.
(a) Will a deadlock be possible?
(b) If yes, describe the steps lead
to a deadlock?
TO:
T1: