1/7
flashcards made from Avoiding Deadlocks slides from week 9
Name | Mastery | Learn | Test | Matching | Spaced |
---|
No study sessions yet.
Deadlock Avoidance Resource Trajectories
Safe and Unsafe States (1)
• Deadlock avoidance uses the concept of safe/unsafe state, based on the model discussed for detection
• A state is said to be safe if there is some scheduling order in which every process can run to completion even if all of them suddenly request their maximum number of resources immediately
Safe and Unsafe States (2)
Safe and Unsafe States (3)
Banker’s Algorithm for Single Resource
Banker’s Algorithm for Multiple Resources (1)
Banker’s Algorithm for Multiple Resources (2)
Banker’s Algorithm for Multiple Resources (3)