Question OS-DL-0017
HardFive processes share resources A, B, C (10, 5 and 7 instances). Currently available: (3, 3, 2).
| Process | Allocation | Max |
|---|---|---|
| P0 | 0 1 0 | 7 5 3 |
| P1 | 2 0 0 | 3 2 2 |
| P2 | 3 0 2 | 9 0 2 |
| P3 | 2 1 1 | 2 2 2 |
| P4 | 0 0 2 | 4 3 3 |
P1 requests (1, 0, 2). Should the Banker's algorithm grant it immediately?
- A.
Yes, because the resulting state is still safe
- B.
No, because the resulting state is unsafe
- C.
Sign up free to see the answer and a step-by-step explanation.