Operating System :: Process Management - Discussion
25 / 41
Banker's algorithm deals with
Adeadlock prevention
Bdeadlock avoidance
Cdeadlock recovery
Dmutual exclusion
Show Explanation
In this algorithm , process requests only one resource at a time, and the request is granted only if it results in a safe state. The system is said to be in a safe state if there exists a sequence of other valid system states that leads to the successful completion of all processes.
If the request results in an unsafe state, the request is denied and the process continues to hold resources until such time as it's request can be met.
In a finite amount of time, all requests will be granted.
Asked In ::
Banker's algorithm is a deadlock avoidance technique.
In this algorithm , process requests only one resource at a time, and the request is granted only if it results in a safe state. The system is said to be in a safe state if there exists a sequence of other valid system states that leads to the successful completion of all processes.
If the request results in an unsafe state, the request is denied and the process continues to hold resources until such time as it's request can be met.
In a finite amount of time, all requests will be granted.
Read Full Answer
Report Error
Please Login First Click Here