What is deadlock? How do you avoid it?
Answer Posted / nilima islam
A set of processes is in a deadlock state when every process
in the set is waiting for an event that can be caused only
by another process in the set.
We can avoid deadlock by avoiding the following conditions:
1.Mutual exclusion
2.Hold & wait
3.No preemption
4.Circular wait
| Is This Answer Correct ? | 10 Yes | 3 No |
Post New Answer View All Answers
How do I make a pdf file on my laptop?
How do I clean up and speed up my laptop?
In the token-passing mutual exclusion algorithm, is the timestamping used to reset clocks and correct drifts, as in the distributed queue algorithms? if not, what is the function of the timestamping?
What is difference between post and put method?
Which processor is better amd or intel?
Which one is the first operating system?
Give some examples of use of thread in a single user multiprocessing system
What is a file in computer terms?
Which is your favorite editor, shell, programming shell and why?
iam free downloading the KK Dictionery to my system but that is not installed yet. can anybody tell be why this happen and what the system have to install the software.
Will disk cleanup delete my files?
How do I upgrade my operating system?
Why is it called gnu?
Difference Between Jfs & Jfs2?
What is the most powerful computer in the world 2019?