Question: Q 1 ( 2 0 ) : Describe that a multi - threading system is in a safe state. Consider the following snapshot of a
Q: Describe that a multithreading 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
tableAllocation,MAX,NeedA B C DA B C DA B C DTTTTT
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 arrives for can the request be granted immediately? Why?
d If a request from thread T arrives for can the request be granted immediately? Why?
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
