Allocation, R1, R2, R3
P0
|
0
|
1
|
0
|
P1
|
2
|
0
|
0
|
P2
|
3
|
0
|
2
|
P3
|
2
|
1
|
1
|
P4
|
0
|
2
|
2
|
Max
R1
|
R2
|
R3
|
7
|
5
|
3
|
3
|
2
|
2
|
9
|
0
|
2
|
2
|
2
|
2
|
4
|
3
|
3
|
Available
R1,R2,R3
3, 3, 2 .
Assume that now the process P1,requests
one additional instance of type R1
and two instances of resource type R3.. The state resulting after this
allocation will be
(A) Ready state (B) Safe state
(C) Blocked state (D) Unsafe state
No comments:
Post a Comment
Note: only a member of this blog may post a comment.