Question OS-DL-0062
HardFive processes P0–P4 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 (7, 5, 3), P1 (3, 2, 2), P2 (9, 0, 2), P3 (2, 2, 2), P4 (4, 3, 3). Available: (3, 3, 2). P1 requests (1, 0, 2). Can it be granted immediately?
- A.
No, the request exceeds P1's need
- B.
Yes, the resulting state is still safe
- C.
Sign up free to see the answer and a step-by-step explanation.