检索规则说明:AND代表“并且”;OR代表“或者”;NOT代表“不包含”;(注意必须大写,运算符两边需空一格)
检 索 范 例 :范例一: (K=图书馆学 OR K=情报学) AND A=范并思 范例二:J=计算机应用与软件 AND (U=C++ OR U=Basic) NOT M=Visual
作 者:刘璇 LIU Xuan(Department of Information Engineering,Guiyang Institute of information technology,Guiyang 550025,China)
机构地区:[1]贵阳信息科技学院信息工程系,贵阳550025
出 处:《智能计算机与应用》2022年第7期206-209,I0002,共5页Intelligent Computer and Applications
摘 要:由于计算机系统资源具有某些特性,将会导致多进程并发时产生资源的竞争,银行家算法是避免死锁的一种有效方法,能提前预测系统是否处于安全状态。银行家算法利用系统可用资源向量、最大需求矩阵、已分配资源矩阵、还需矩阵4种数据结构来进行资源分配。本文采用C语言编程,设计并实现了银行家算法。通过仿真实验证明,该算法在一定程度上能有效的避免死锁产生。Some resources of computer system have some characteristics, such as exclusivity, which will lead to resource competition when multiple processes are concurrent. Banker algorithm is an effective method to avoid deadlock and can predict whether the system is in a safe state in advance. Banker algorithm uses some data structures, such as system available resource vector, maximum demand matrix, to allocate resources. The banker algorithm is designed and implemented in C language. The simulation results show that the algorithm can effectively avoid deadlock to a certain extent.
分 类 号:TP399[自动化与计算机技术—计算机应用技术]
正在载入数据...
正在载入数据...
正在载入数据...
正在载入数据...
正在载入数据...
正在载入数据...
正在载入数据...
正在链接到云南高校图书馆文献保障联盟下载...
云南高校图书馆联盟文献共享服务平台 版权所有©
您的IP:3.137.136.226