Introduction - If you have any usage issues, please Google them yourself
Banker' s algorithm is one of the most representative algorithm to avoid deadlock. Method to avoid deadlock in the process of dynamically allowed for resources, but the system before carrying out the allocation of resources, the allocation of resources to be counted the security, if the distribution does not cause the system to enter unsafe state, the distribution, or wait. To achieve the banker' s algorithm, the system must be set to a number of data structures.