Suppose there are four processes and four resource types in a system that avoids deadlock using Bankers algorithm. The total amount of each resource type is given by the vector [16, 5, 2, 8].the current allocation and claim is given below.
Suppose there are four processes and four resource types in a system that avoids deadlock
using Bankers
[16, 5, 2, 8].the current allocation and claim is given below.
process |
Current Allocation
|
Max Claim |
|
A B C D |
A B C D |
P1 P2 P3 P4 |
4 0 0 1 1 2 1 0 1 1 0 2 3 1 1 0 |
4 6 7 1 4 3 5 1 13 5 2 7 6 1 3 1 |
a. Illustrate this state is safe?
b. Find out 2 possible safe sequences by using Bankers algorithm.
( SUBJECT:operating system)
Trending now
This is a popular solution!
Step by step
Solved in 2 steps with 1 images