Introduction - If you have any usage issues, please Google them yourself
Process, the deadlock avoidance algorithm (the banker s algorithm to achieve)
A: purpose of the experiment:
Banker s algorithm based on the idea of programming, to solve the deadlock problem of concurrent processes.
II: experimental requirements:
(1) In this study, to design and implement banker s algorithm. Bankers deadlock avoidance algorithm is a classical algorithm, the core idea is: the process of dynamic application of resources, resources for each application is executed when the system security status checking algorithm to determine whether this application will result in the system are not safe, if safe the blocking process if the security status, complete the allocation of resources.
(2) security status checking algorithm idea is to find a safe sequence, so that all processes can be executed. If found, in a safe state, or unsafe condition.
Three: Experiment ideas:
1) The beginning of the process to make the maximum system demand.
2) The prop