0 7

Operating Systems05 marksNecessary conditions for deadlock

Why do deadlock occurs? How can you detect and recover from deadlock.

Why do deadlock occurs? How can you detect and recover from deadlock. [5]

A deadlock occurs when a set of processes are permanently blocked, each waiting for a resource held by another process in the set. Deadlock arises when all four Coffman conditions hold simultaneously: Condition Description ------ Mutual Exclusion At least one resource is held in a non-shareable m...

Up nextCPU Scheduling Analysis Consider the following set of processes, with the length of CPU bu