欢迎来到淘码网(TMA.CN)

银行家法

价格: ¥ 9 积分可抵¥ 9

最后更新: 2020-01-03 20:22:49

演示地址:

指导费: 免费

分类
参数1
参数2
参数3
参数4
参数5
参数6
大小
2 MB
发货方式
自动发货
下载方式
远程下载
1
1
1
备注说明

所属分类操作系统开发
开发工具:C++
文件大小:24KB
下载次数:17
上传日期:2005-12-25 10:06:21
说明:  一、实验目的: 熟悉银行家算法,理解系统产生死锁的原因及避免死锁的方法,加深记意。 二、实验要求: 用高级语言编写和调试一个描述银行家算法的程序。 三、实验内容: 1、 设计一个结构体,用于描述每个进程对资源的要求分配情况。包括:进程名——name[5],要求资源数目——command[m](m类资源),还需要资源数目——need[m],已分配资源数目——allo[m]。 2、 编写三个算法,分别用以完成:①申请资源; ②显示资源;③释放资源。(动态完成)
(an experimental purposes : bankers familiar with the algorithm generated Deadlock understand the reasons and ways to avoid deadlock deepened memory. Two experimental requirements : high-level language writing and debugging an algorithm bankers described the procedure. 3, experiment : one, design a structure, which is used to describe each process of resource allocation of the request. Including : process name-- name [5], the number of requests for resources-- command [m] (m category resources), the number of required resources-- need [m], resources have been allocated number-- allo [m]. 2, the preparation of three algorithms, which were completed : for resources; indicated resources; freeing resources. (Dynamically))

文件列表

0 (0%)

好评

0 (0%)

中评

0 (0%)

差评

  • 在线客服

    点击这里给我发消息 点击这里给我发消息

    官方微信

    仅处理投诉、举报及平台使用问题;
    商品问题请咨询商家客服!

浏览记录