Each process needs 7 resource units.total of 70 resources.
p1 |
p2 |
p3 |
p4 |
p5 |
p6 |
p7 |
p8 |
p9 |
p10 |
Each process needs maximum seven units of resources.to prevent deadlock these are maximum resources.
minimum no of resources are=(6*10)+1. //for all 10 process allocate 6 units of resources all are waiting on each other for one more resource to excution.
so total of 61 resources are needed to prevent deadlock.