登录
首页 » Visual C++ » lock_hungry

lock_hungry

于 2021-01-17 发布 文件大小:1KB
0 221
下载积分: 1 下载次数: 22

代码说明:

   给出进程需求矩阵C、资源向量R以及一个进程的申请序列。使用进程启动拒绝和资源分配拒绝(银行家算法)模拟该进程组的执行情况。要求: 初始状态没有进程启动 计算每次进程申请是否分配?如:计算出预分配后的状态情况(安全状态、不安全状态),如果是安全状态,输出安全序列。 每次进程申请被允许后,输出资源分配矩阵A和可用资源向量V。 每次申请情况应可单步查看,如:输入一个空格,继续下个申请 (The  gives processes demand matrix C resource vector R as well as the application of a process sequence. Using the process starts refused to reject and resource allocation (the bankers algorithm) analog implementation of the process group. Requirements: initial state process starts calculated each time the process is whether the application is assigned? : Calculate a state after the pre-allocated (safe state, unsafe state), if it is a safe state, the output safety sequence. Each process the application is allowed, the the output resource allocation matrix A and the resources available vector V. Each application should be able to single-step view, such as: type a space, continue to the next application)

文件列表:

lock_hungry.cpp,3461,2013-01-08

下载说明:请别用迅雷下载,失败请重下,重下不扣分!

发表评论

0 个回复

  • radmin21
    说明:  务器端基于select I/O模型。为防止程序界面阻塞,有一个子线程用于不断接收socket并select其中的处理。客户端只有一个线程函数,不过其利用率很高,可用于远程目录交换,请求文件大小,创建若干线程来下载文件。文件传输有上传和下载,还有对等传输,这个项目中,传输文件具体指下载。(Client server based on select I/O model. Programming interfaces in order to prevent obstruction, there is a sub-thread for receiving socket and select which treatment. There is only one client thread function, but its utilization very high, can be used for remote directory exchange, request the file size, create a number of threads to download the file. File transfer are uploading and downloading, as well as peer-to-peer transmission, this project, the specific means to transfer files to download.)
    2008-10-20 11:08:26下载
    积分:1
  • S2OOPS
    北大青鸟深入.NET,C#阶段测试,题目难度适中,适合初学者借鉴(Beida Jade Bird in depth. NET C# test phase, the subject of moderate difficulty, suitable for beginners to learn from)
    2012-05-15 11:41:45下载
    积分:1
  • 5615
    5615的驱动电压精度控制在0.2V,经过实验证实。(5615 driving voltage accuracy control in 0.2 V, confirmed through experiments)
    2015-10-06 22:02:52下载
    积分:1
  • Active-piece-of
    VC++实现滑动块 按键盘A键滑块左移,D键滑块右移(VC++ realize sliding blocks. According to A slider keyboard key moves left, D key slider move to the right. )
    2012-07-04 01:50:57下载
    积分:1
  • Network-security-assessment-system
    网络安全评估系统,根据评估目标和评估内容的要求构建的一组反映网络安全水平的相关指标,据以搜集评估对象的有关信息资料,反映评估对象的网络安全的基本面貌、素质和水平。(Network security assessment system)
    2014-04-04 19:23:01下载
    积分:1
  • VBdevelopmentexample
    Visual Basic系统开发实例精粹 人民邮电出版社(The essence of the system development example Visual Basic Posts & Telecom Press)
    2010-10-08 00:38:33下载
    积分:1
  • VectorDraw
    一个用gdi实现了编辑的矢量绘图程序(a gdi achieved with the vector graphics editing procedures)
    2005-03-01 10:08:09下载
    积分:1
  • 多边形变换2_VC
    用vc编写的一个多边形变换程序(vc prepared using a polygon transformation process)
    2020-11-11 20:59:44下载
    积分:1
  • ourdev_223615
    一个关于FAT16文件系统的说明与源码,对FAT16文件系统的开发好处(A note on the FAT16 file system with the source code, the FAT16 file system, the development of the benefits of)
    2009-10-26 14:10:00下载
    积分:1
  • paidui
    1、首先,我们分析调查到的数据,发现学生流符合泊松分布,服务时间符合指数分布,由此我们的模型就变成了排队论中典型的MM 模型,根据MM 模型中的各效率指标的公式,我们可得到学一食堂拥挤情况的各方面数据。 2、根据模型求解得到的数据,我们对模型进行了更精确的量化分析。我们发现,解决本模型的关键就在于分析顾客平均排队时间,我们对其与窗口数之间的关系进行了拟合,并就两者之间关系进行了灵敏度分析。 3、针对窗口数与顾客平均排队时间之间的关系,我们从经济学的角度进行了分析,即比较增加窗口后成本的增加量与减少排队等待时间所带来的收益之间的大小关系。 (err)
    2021-04-11 15:08:58下载
    积分:1
  • 696516资源总数
  • 106918会员总数
  • 4今日下载