Question OS-DL-0042
MediumFive processes share resources A, B and C. Allocation: P0 (0,1,0), P1 (2,0,0), P2 (3,0,2), P3 (2,1,1), P4 (0,0,2). Maximum need: P0 (5,3,3), P1 (3,2,2), P2 (4,0,2), P3 (2,2,2), P4 (3,3,3). Available: (2,3,2). Which of these is a safe sequence?
- A.
P1, P3, P2, P4, P0
- B.
P4, P3, P2, P1, P0
- C.
Sign up free to see the answer and a step-by-step explanation.