银行家算法 死锁检测
模拟银行家算法,查看死锁。当用户请求一组资源时,系统有必要断定这些资源的分配是不是仍会使系统处于安全状况。如果会,就可分配资源;不然,进程有必要等待直到某个别的进程开释满足资源停止。(Simulate the banker's algorithm to see deadlocks. When a user requests a set of resources, it is necessary for the system to determine whether the allocation of those resources still leaves the system in a safe state. If so, the resource can be allocated; otherwise, the process must wait until some other process releases enough resources to stop.)
页:
[1]