Deadlock Prevention Algorithms
Derive the prevention schemes by
preventing
one of the necessary conditions.
-
1. Read-only resources
-
2. Request all resource at once, block
till all cannot be granted
-
3. (i) Release before request (ii)
preempt
-
4. Resource Ranking algorithm (order
the resources)
Drawbacks of these schemes