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

Answer Posted / 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



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

what are the advantages of sap on other software ?

1732


purpose of abstraction and interface

1530


what is apt_dump_score in datastage where it is useful

1502


Write a program to show polymorphism.

701


what is difference between object oriented programming structure and object oriented programming system?

1448






I m new to the dbms. Recently i came across words clustered indexes & nonclustered indexes but i dont know what is this all about & whats the difference between them.. So please help me!!!!!!!!

1539


How to call a C++ function which is compiled with C++ compiler in C code?

796


how does database connection using ADO.NET?

1523


How to use string functions in QTP?give some examples

7121


what does mean and stack mean in genral programming?

1447


what is the difference between an OS(operating system) and Framework?

1525


What do you understand by modular programming?

671


can we use commit,rollback in triggers and how?

1503


What is WEB 3.0? What are the features their in WEB3.0

1579


i am exeprienced person what is selection process

1133