Question OS-DL-0059
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). P4 requests (3, 3, 0). What happens under the Banker's algorithm?
- A.
It is granted at once
- B.
The request is invalid because it exceeds P4's maximum
- C.
Sign up free to see the answer and a step-by-step explanation.