Introduction - If you have any usage issues, please Google them yourself
In order to understand the resource allocation of the system, it is assumed that any resource of the system can only be used by one process at any one time. Any resources that have been occupied by the process can only be released by the process itself, rather than by other processes. You must wait when the resources for the process cannot be satisfied. Therefore, as long as the resource allocation algorithm can guarantee the resource request of the process, and there is no circular waiting, the system will not deadlock. Write the system scheduling procedures for resources, using bankers algorithm, effectively avoid the deadlock.