资 源 简 介
操作系统中银行家算法的演示程序,银行家算法是避免死锁的方法,避免死锁的法则是,系统在运行过程中,对于进程的每一种资源请求都要根据预掌握的资源使用信息,按照一定的算法,进行是否可能导致死锁的预测,以决定是否同意这一资源请求。这是向前看几步,知道保证不会导致死锁时再向前走一步的具有动态性质的预测算法。-operating system bankers algorithm Demonstration Program, bankers algorithm is a method to avoid deadlock and avoid deadlock the law is, the system in the process, the process for each type of resource in accordance with the request of the resources available to advance the use of information, according to some algorithm, leading to the possibility of death lock projections to decide whether the resource requests. This is a forward-looking steps, guaranteed not know Deadlock lead again when forward step with the dynamic nature of the forecast algorithm.