What is deadlock? How do you avoid it?

Answer Posted / kalyani

Deadlock is permanent blocking of the set processes that
either compete for system resources or communicate each
other.
we can avoid deadlock by avoiding the following conditions:
1.Mutual Exclusion
2.Hold and wait.
3.No preemption.
4.circular wait.

Is This Answer Correct ?    101 Yes 12 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

How many os are there?

715


Do simultaneous downloads take longer?

703


How many bytes we can send to apple push notification server in iOS operating system?

808


Explain about memory management in operating system.

775


How do I merge folders on mac?

700






The flushing policy is described in the subsection on process migration strategies: a) From the perspective of the source, which other strategy does flushing resembles? b) From the perspective of the target, which other strategy does flushing resemble?

1999


What is the shortcut key to refresh laptop?

672


Is microsoft coming out with a new operating system?

683


Explian T - Factor?

801


What is the difference between kernel and operating system?

688


1) What is an Virtual memory? 2) How do we test API's in both Windows/Linux/Unix? 3) What is an IOCTL? 4) How do you open a char device through API's? 5) What is major num/ minor num? 6) What is the max num for minor num? 7) Who gives you the major / minor numbers? 8) Reverse a string using recursive func. 9) fork/vfork/clone. 10) What does fork returns? 11) What is a zombie process? 12) What happens when a child completes before parent tries to wait for it? 13) Interrupt handlers, top-hdnl....?

2203


How do I free up disk space?

696


what is multitask win95

757


What is a Kernel?

762


Can we kill init process?

770