操作系统实验二(银行家算法)实验报告.docVIP

  • 21
  • 0
  • 约 11页
  • 2017-06-06 发布于湖北
  • 举报

操作系统实验二(银行家算法)实验报告.doc

操作系统实验二(银行家算法)实验报告剖析

实验二实验报告 实验源码: #include stdio.h #include iostream.h #include string.h #define False 0 // 定义False #define True 1 // 定义True int Max[100][100] = {0}; // 各进程所需各类资源的最大需求 int Avaliable[100] = {0}; // 系统可用资源 char name[100] = {0}; // 资源的名称 int Allocation[100][100] = {0}; // 系统已分配资源 int Need[100][100] = {0}; // 还需要资源 int Request[100] = {0}; // 请求资源向量 int temp[100] = {0}; // 存放安全序列 int Work[100] = {0}; // 存放系统可提供资源 int M = 100; // 作业的最大数为100 int N = 10

文档评论(0)

1亿VIP精品文档

相关文档