praveen bhosale


{ City } pune
< Country > india
* Profession * system administrator
User No # 19934
Total Questions Posted # 0
Total Answers Posted # 1

Total Answers Posted for My Questions # 0
Total Views for My Questions # 0

Users Marked my Answers as Correct # 19
Users Marked my Answers as Wrong # 6
Questions / { praveen bhosale }
Questions Answers Category Views Company eMail




Answers / { praveen bhosale }

Question { 22466 }

What is the difference among deadlock avoidance, detection
and prevention?


Answer

Deadlock Prevention:

Preventing deadlocks by constraining how requests for resources can be
made in the system and how they are handled (system design).
The goal is to ensure that at least one of the necessary conditions for
deadlock can never hold.
Deadlock Avoidance:

The system dynamically considers every request and decides whether it is
safe to grant it at this point,
The system requires additional apriori information regarding the overall
potential use of each resource for each process.
Allows more concurrency.
Similar to the difference between a traffic light
and a police officer directing traffic.

Is This Answer Correct ?    19 Yes 6 No