How starvation differs from deadlock? Consider the following situation of processes and resources:
Process |
Has |
Max |
P1 |
2 |
6 |
P2 |
1 |
5 |
P3 |
2 |
5 |
P4 |
2 |
6 |
a. What will happen if process P3 requests 1 resource?
b. What will happen if process P4 requests 1 resource?