d) (Total: 8 marks). A system has four processes and five resource types. The current available resources, resource allo
Posted: Thu Jul 14, 2022 2:06 pm
d) (Total: 8 marks). A system has four processes and five resource types. The current available resources, resource allocation and maximum needs are as follows: (i) (4 marks). Show that the system is NOT in a safe state. Your solution MUST show: - The matrix need. - The matrix available after the system regains resources from each process that is in safe state. - The list of processes that cannot terminate. (ii) (4 marks). What must be the smallest number of instances of each resource type the system originally has to be in a safe state? Justify your answer by showing a safe sequence for the smallest number of instances.