What is the best action a system can take when deadlock is
detected

Answers were Sorted based on User's Feedback



What is the best action a system can take when deadlock is detected..

Answer / nadeem khokhar

system checks for the priority. if a lower priority process is holding the resource and more priority process is in waiting, it frees the resource from low priority process and gives it to the higher priority process.
or it can also go for that if a process is not leaving the resource and other is in wait state then it checks the time quantum, if time quantum exceeds from the predefined time quantum it takes the resource and give it to the next process and same action repeated

Is This Answer Correct ?    8 Yes 0 No

What is the best action a system can take when deadlock is detected..

Answer / devendra singh

dedloc is condition lock relised from dedloc condition

Is This Answer Correct ?    2 Yes 6 No

Post New Answer

More Programming Languages AllOther Interview Questions

Question:Why is mapping required? Computer 'Paging' & 'Segmentation'. Question:Give the disadvantages of Havander's Strategies. Question: What do you mean by Belady's Anomaly. - Describe with example. Question: Discuss the various function of OS. Question: Give a brief discussion on schedulers & Dispatchers with respect to process management.

0 Answers  


I need to fetch all rows from the table based one field value in the table and later do a condition check if the condition is true I will have to move all the rows present in the data base to output file one else if the condition is not satisfied then move all the records of that field value into another file .Please let me know how to do that

0 Answers  


How can we develop a multi-tier application in Java?

0 Answers  


Hi friends :) This Company Aptitude Questions were much easy. i have attended the interview but was not selected in the HR round. they used to ask questions like puzzles, English, fill up the sentence. for example : they asked one question like suraj, kumar, santhosh, ranga and ashwin are professionals in different fields. suraj is a doctor. kumar is not a musician.ranga is working as engineer. ashwin is from goa. santhosh is from chennai. suraj and ranga are not from delhi. find out who is working in which field and where are they from? it was not the exact question. i answered that question with correct answer. just thorough with SQL queries. they are much interested in that. i cleared Technical round where they asked me to write a C code for checking, if the given word is palindrome or not. also they asked 2 puzzle question to solve in front of them. then the asked SQL query for referring two tables. then, they sent me for HR round. i got little nervous in that round. so, could not answer them properly. In Hr round, they may ask Technical Questions. i was asked only Technical Questions in HR round. they asked questions from SQL queries and my project. i could not answer for the questions perfectly. so, i was not selected. anyway, try to be thorough with these info and rock in your interview. Thanks :)

0 Answers   Hewitt,


What is nocopy in plsql?

1 Answers   IBA Health,






What are the Short cut Keys of Tally ERP?

0 Answers  


When you deliver your C++ headers and C++ library of a class (what all can you change in the class so that application using your class does not need to recompile the code)

0 Answers   Yahoo,


difference between list and display command ?

3 Answers  


Find out the list of roles which gives access to GUI activities? thanks in advance

0 Answers  


What do you meant by Runtime Polymorphism?

2 Answers   Persistent,


In JCl , we have COND parameter.This holds comparison code and condition.It also has only and even parameters. ex: COND((4,GE),EVEN).what the comma mean here. is that 'and' or 'or'.

0 Answers   L&T,


how pseudo column works?

0 Answers   Oracle,


Categories