Search Interview Questions
| More than 3000 questions in repository.|
There are more than 900 unanswered questions.
Click here and help us by providing the answer.
Have a video suggestion.
Click Correct / Improve and please let us know.
|Interview Questions and Answers|
|Ans. mutual exclusion i.e the resource is not shareable and hence a process should have exclusive access to it at a particular time|
Hold and Wait i.e the process doesn't release all existing resources held by it before requesting for another one.
No preemption i.e noone can forcefully release a resource held by another process and the process should voluntarily release the resource held by it.
Circular Wait - For ex, P1 is waiting on resource to be released by P2, P2 is waiting on resource to be released by P3 and P3 is waiting on the resource to be released by P1
|Help us improve. Please let us know the company, where you were asked this question :|
|Like Discuss Correct / Improve  deadlock  process|
|What is database deadlock ? How can we avoid them?|
|What is a Deadlock ?|
|What is Livelock in relation to deadlock ?|
|Write Java code that would cause deadlock ?|
|How can multi threading lead to a deadlock ?|