Next: Deadlock Recovery
Up: No Title
Previous: The Dining Trumpet players
- Permit first three necessary conditions for deadlock
- For greater efficiency, tolerate occasional deadlock
- Require early detection to avoid 'doing nothing'
- Take recovery action
Algorithm for this :
- Maintain information on current allocation of resources
to processes + outstanding resource requests
- Check for circular wait via resource allocation graphs,
petri nets etc
Invoking the algorithm :
- Each time resource is requested - may lead to very high overheads
- Periodically
- When resource utilisation drops below a limit
Omer F Rana
Sat Feb 15 21:34:55 GMT 1997