Dealock
Method 1 Prevention:
Circular wait
Mutual Exclusion
Prevention Analysis:
Method 2 Avoidance:
Safe states unsafe states
system overhead is maintaining safe states and unsafe states and all the other processing
Method 3
Deadlock Detector
Metrics for process termiantion Priority : kill the process with lowest priority
Computation time: kill the process that runs for short time
Resource Hoarder: kill the process that holds a lot of resources
Method 4 : Ignore