METHODS for HANDLING DEADLOCKS


•Use a protocol to prevent or avoid deadlocks, ensuring that the system will never enter a deadlock state
–Deadlock prevention
–Deadlock avoidance

•Allow the system to enter a deadlock state, detect it and then recover

•Ignore the problem and pretend that deadlocks never occur in the system
–Used by most operating systems, including UNIX
–The undetected deadlock will result in the deterioration of the system performance. Eventually, the system will stop functioning and will need to be restarted manually

0 comments: