7.11 Version 0 |
|
👤 Author: by 1159318719qqcom 2016-12-21 15:58:04 |
a
The values of Need for processes P0 through P4 respectively are (0, 0, 0, 0), (0, 7, 5, 0), (1, 0, 0, 2), (0, 0, 2, 0), and (0, 6, 4, 2)
b
Yes. With Available being equal to (1, 5, 2, 0),eitherprocess P0 or P3 could run.Once process P3 runs,it releases its resources which allow all other existing processes to run.
c
Yes it can. This results in the value of Availablebeing(1,1,0,0).Oneorderingofprocessesthatcanfinish is P0, P2, P3, P1, andP4.