1,590 views
0 votes
0 votes

Consider a system with 12 tape drives with:

Process Max Need  Allocated
P1 10 5
P2 9 3

Is this system is in a safe or unsafe state? If it is not safe then under which condition system leads to deadlock?

1 Answer

0 votes
0 votes

System has 12 tape drivers

process max requirement allocate available remaining
P1 10 5 4 5
P2 9 3   6

total available = 12-(5+3)=4

So, total available tape drivers are 4 and remaining requirements of P1 and P2 are 5 and 6 . This implies that it may leads to deadlock.

Related questions

0 votes
0 votes
1 answer
1
8 votes
8 votes
1 answer
2
Shubhanshu asked Aug 17, 2017
5,978 views
Why unsafe state not leads to deadlock?Please don't redirect to any other link. Explain it by taking an example.