0 7

BIT204 ยท 0 ยท 5 marks

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]

Operating SystemsChapter 6: Deadlock ManagementNecessary conditions for deadlock

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...