Operating Systems2080.15 marksHandling Deadlocks
Illustrate the term safe and unsafe state in deadlock prevention with scenario.
Illustrate the term safe and unsafe state in deadlock prevention with scenario. [5]
The concept of safe and unsafe states is central to deadlock avoidance (specifically the Banker's Algorithm), where the OS checks whether granting a resource request will lead to a safe or unsafe state before actually granting it. : "What the algorithm does is check to see if granting the request...