Condition for deadlock occurrence?
Submitted by: AdministratorDeadlock can arise if four conditions hold simultaneously.
Mutual exclusion:
only one process at a time can use a resource.
Hold and wait:
a process holding at least one resource is waiting to acquire additional resources held by other processes.
No preemption:
a resource can be released only voluntarily by the process holding it, after that process has completed its task.
Circular wait:
there exists a set {P0, P1, ?, P0} of waiting processes such that P0 is waiting for a resource that is held by P1, P1 is waiting for a resource that is held by P
2, Pn1 is waiting for a resource that is held by
Pn, and P0 is waiting for a resource that is held by P0.
Submitted by: Administrator
Mutual exclusion:
only one process at a time can use a resource.
Hold and wait:
a process holding at least one resource is waiting to acquire additional resources held by other processes.
No preemption:
a resource can be released only voluntarily by the process holding it, after that process has completed its task.
Circular wait:
there exists a set {P0, P1, ?, P0} of waiting processes such that P0 is waiting for a resource that is held by P1, P1 is waiting for a resource that is held by P
2, Pn1 is waiting for a resource that is held by
Pn, and P0 is waiting for a resource that is held by P0.
Submitted by: Administrator
Read Online Windows Job Interview Questions And Answers
Top Windows Questions
☺ | Why thread is called as a lightweight process? |
☺ | What is LDAP? |
☺ | What is the Difference between Windows 2003 standard Enterprise, Premium, Data center and Web Edition? |
☺ | Explain briefly about, processor, assembler, compiler, loader, linker and the functions executed by them? |
☺ | How do you recover an object in Active Directory, which is accidentally deleted by you, with no backup? |
Top Operating System (OS) Categories
☺ | RTOS Interview Questions. |
☺ | Windows 7 Interview Questions. |
☺ | MAC Operating System Interview Questions. |
☺ | Disk Operating System (DOS) Interview Questions. |
☺ | Shell Scripting Interview Questions. |