Question: Q 1 ( 2 0 ) : Describe that a multi - threading system is in a safe state. Consider the following snapshot of a

Q1(20): Describe that a multi-threading system is in a safe state. Consider the following snapshot of a system. Answer the following questions using the banker's algorithm. Assume the available instance (A B
\table[[,Allocation,MAX,Need],[,A B C D,A B C D,A B C D],[T0,0012,0012,],[T1,1000,2750,],[T2,1354,2356,],[T3,0632,0652,],[T4,0014,0656,]]
a. What is the content of the Need column? Fill in the table column.
b. Is the system in a safe state? Why?You may use the table to do available column analysis after each thread to reason your answer for
question b, c and d.
c. If a request from thread T1 arrives for (0,4,2,0), can the request be granted immediately? Why?
d. If a request from thread T1 arrives for (1,4,2,0), can the request be granted immediately? Why?
 Q1(20): Describe that a multi-threading system is in a safe state.

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!