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

Does a disk cleanup delete everything?

577


Is heap shared between processes?

556


Will disk cleanup delete my files?

504


How do you clear cache on a laptop?

529


Can you just explain about memory management in iOS?

624






What are compile time Errors?

606


How To Lock A User's Account?

591


what kind of operating(s)systems would be needed (and explain why) in an environment where there exist various cluster of networks which are all interconnected in different geographical areas with strong emphasis on online applicating process.

1640


What is the name of first operating system?

503


When I press power button on laptop nothing happens?

471


Is the g in gnu silent?

527


What does kernel panic mean?

543


How many os are there?

525


What is the difference between kernel and operating system?

517


What is the best os for laptop?

535