文件名称:allocation
介绍说明--下载内容均来自于网络,请自行研究使用
There are three methods for handling deadlocks in resource allocation systems deadlock
prevention, deadlock avoidance and deadlock detection combined with recovery. Of these three
methods deadlock avoidance is preferable in many cases but seldom used on account of its high
cost. We present a simple modification of a known deadlock avoidance algorithm, the banker s
algorithm, which has a running time O(mn 2) in a system consisting of n processes and m
different types of resources. Our modified algorithm gives an amortized worst case running time of
O(mn) under certain likely conditions and in that way it can be considered a competitive method
for handling deadlocks. At worst, our algorithm is twice as fast as the banker s algorithm,
prevention, deadlock avoidance and deadlock detection combined with recovery. Of these three
methods deadlock avoidance is preferable in many cases but seldom used on account of its high
cost. We present a simple modification of a known deadlock avoidance algorithm, the banker s
algorithm, which has a running time O(mn 2) in a system consisting of n processes and m
different types of resources. Our modified algorithm gives an amortized worst case running time of
O(mn) under certain likely conditions and in that way it can be considered a competitive method
for handling deadlocks. At worst, our algorithm is twice as fast as the banker s algorithm,
(系统自动生成,下载前可以参看下载内容)
下载文件列表
Banker's Algorithm.pdf