A 1.3.5 Worksheet Answers
Task 1. a) Arrows: P1 → R1 is "holds"; P1 → R2 is "waits for"; P2 → R2 is "holds"; P2 → R1 is "waits for". b) Neither can continue because each process holds a resource the other needs and will not release it until it obtains the resource it is waiting for, so both wait forever. Task 2. 1–B, 2–D, 3–A, 4–C. Condition to remove: removing circular wait breaks the deadlock, for example by requiring resources to be...