Noting deadlock in a system


Question:

Noting Deadlock in a System

A system has 5 active processes(A-E) and one type of resource, which there are 200 total unites available in the system. the current state of the system is shown in the table below.

The HOLDS column indicates the amount of the resource the process has allocated to it.

The REQUESTED column indicates the additional amount of the resource the process has asked teh system for and requires before it can finish execution. The MAX column indicates the maximum amount of the resource may need during its execution

Process         Holds          Requered             Max
     A                10                 10                     70
     B                40                   5                    100
     C                20                 40                    100
     D                25                 15                      70
     E                30                   5                      80

a. is the system currently deadlocked? is it in a safe state? if it is not deadlocked and/or safe be sure to show initermediae states that lead you to that conclusion

b. if the request of 40 unites were granted to C, would the system be deadlocked? would it be in a safe state? again explain

Solution Preview :

Prepared by a verified Expert
Theory of Computation: Noting deadlock in a system
Reference No:- TGS01935052

Now Priced at $20 (50% Discount)

Recommended (90%)

Rated (4.3/5)