Series: Subject: Topic:
Question: 103 of 222

Describe four general strategies for dealing with deadlocks.

Asked by: Interview Candidate | Asked on: Oct 23rd, 2007
Showing Answers 1 - 2 of 2 Answers

Answered On : Jan 14th, 2008

View all answers by visitnitya

The four techniques are-1)mutual exclusion2)circular wait3)hold & wait4)no premption

Login to rate this answer.

Answered On : Aug 23rd, 2009

View all answers by nilupul21

Strategies to dealt with deadlocks are:

Ignore deadlock (This is done in systems which are infrequently meeting with deadlocks)
Detection and recovering
Avoiding deadlocks by careful resource allocation
Preventing deadlock operating conditions. These conditions are

Mutual exclusiveness (two processes cant use same resource at same time)
Hold and wait
No preemtion (after allocating resource, it cant be taken back until it is released by process)
Cycles in resource allocation diagrams

Login to rate this answer.

Give your answer:

If you think the above answer is not correct, Please select a reason and add your answer below.

Related Open Questions



twitter fb Linkedin GPlus RSS


Question Categories

Shell Scripting Interview Questions

Solaris Admin Interview Questions

UNIX Interview Questions

Unix Programming Interview Questions

Windows Interview Questions

Interview Question

 Ask Interview Question?


Latest Questions

Interview & Career Tips

Get invaluable Interview and Career Tips delivered directly to your inbox. Get your news alert set up today, Once you confirm your Email subscription, you will be able to download Job Inteview Questions Ebook . Please contact me if you there is any issue with the download.