BLOGGER TEMPLATES AND TWITTER BACKGROUNDS

Thursday, August 20, 2009

Deadlock: Methods for handling deadlocks

Principally, there are three methods for dealing with deadlocks:

1. Use some protocol to prevent or avoid deadlocks, ensuring that the system will never enter a deadlock state.

2. Allow the system to enter deadlock state, detect it, and then recover.

3. Ignore the problem all together, and pretend that deadlocks never occur in the system. This solution is the one used by most operating systems, including UNIX.

0 comments: