Chapter 27 Flashcards
What is deadlock handling
- Deadlock prevention
- Deadlock avoidance
- Deadlock detection and recovery
What is low resources utilization
When a process request all of its resource, and when he is able to receive all of them then start utilizing. It is low resources utilization.
What is Deadlock prevention
In Deadlock prevention, we try to prevent any one of the four conditions that are necessary to deadlock to occur. i.e.
- Circular wait
- Mutual exclusion
- Hold and wait
- No Preemption
What is Deadlock avoidance
A safe sequence of processes and allocation of resources ensures a safe state. Deadlock avoidance algorithms try not to allocate resources to a process if it will make the system in an unsafe state.
Does deadlock avoidance ensures that there can never be a circular-wait condition
Yes
What is safe state
System is in a safe state if all process exists in a safe sequence.
What is safe sequence
The order in which we finish the execution of all process of a system is called safe sequence.
If system is in safe state then there can not be deadlock and if system is in unsafe state then there is possibility of deadlock. True/false
True