Rss Feed

DEADLOCK

METHOD FOR HANDLING DEADLOCKS
Never enter (prevention & avoidance), detect/recover, ignore…
We can use a protocol to ensure that the system will never enter a deadlock state.
We can allow the system to enter a deadlock� state and then recover
We can 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.
Deadlock prevention is a set of methods for ensuring that at least one of the necessary conditions cannot hold.
Deadlock avoidance, on the other hand, requires that the operating system be given in advance additional information concerning which resources a process will request and use during its lifetime.
Ensure that the system will never enter a deadlock state.
Allow the system to enter a deadlock state and then recover.
Ignore the problem and pretend that deadlocks never occur in the system; used by most operating systems, including UNIX.

0 comments: