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
What Command To Take Backup Other Vg's?
What do you know about the latest android version Lollipop?
What is the best memory for a laptop?
What happens when I reset my computer?
What is Cycle Stealing in OS?
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....?
Difference Between Jfs & Jfs2?
What is the shortcut key to refresh laptop?
describe the situation in which priority inversion can occur
Is microsoft coming out with a new operating system?
How do I run wget?
Directories can be implemented either as "special files" that can only be accessed in limited ways, or as ordinary data files. What are the advantages and disadvantages of each approach?
What is the first operating system in the world?
What are Odm Commands.
wha is very first process created by kernel