It is a concept which tells about an error condition.Here the system is deadlocked and no process executes.i Will List the Coffman's conditions that lead to a deadlock.
*Mutual Exclusion: Only one process may use a critical resource at a time.
*Hold & Wait: A process may be allocated some resources while waiting for others.
*No Pre-emption: No resource can be forcible removed from a process holding it.
*Circular Wait: A closed chain of processes exist such that each process holds at least one resource needed by another process in the chain.
Deadlocks can be avoided and also prevented.
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment