ALL > Computer and Education > courses > university courses > undergraduate courses > Operating System > CLASS (2016-2017-1)-62903-06102-1 > 2014329600146_傅宇虹 > homework 6_7.11 >
homework 6_7.11 Version 0
👤 Author: by 2014329600146fyh 2016-11-10 21:21:57
a.

Need

P0  A B C D

P0   0 0 0 0

P1   0 7 5 0

P2   1 0 0 2

P3   0 0 2 0

P4   0 6 4 2

 

b.

Yes. The system is in a safe state.

We can know Available = (1, 5, 2, 0), either process P0 or P3 could run. Once process P3 runs, it releases its resources which allow all other existing processes to run.

 

c.

Yes the request can be granted immediately

(1). Request 1≤  Need1    (  (0,4,2,0) ≤(0,7,5,0 ) )

(2). Request 1≤Availabl

Please login to reply. Login

Reversion History

Loading...
No reversions found.