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


Please Help Members By Posting Answers For Below Questions

Explain about memory management in operating system.

616


Do cores matter for gaming?

562


Is heap shared between processes?

573


Where can I get a free operating system?

555


Can I restore my computer to yesterday?

554






Can I put an ssd in my old computer?

592


How do you kill a computer with command prompt?

509


What is a Safe State and what is its use in deadlock avoidance?

588


How do you reset the bios?

561


How do I run wget?

534


Which processor is better amd or intel?

581


What happens when I reset my computer?

588


How To Lock A User's Account?

610


How do you fix a crashed computer?

620


What Command To Take Backup Other Vg's?

640