-
lock_hungry
给出进程需求矩阵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)
- 2021-01-17 00:38:45下载
- 积分:1
-
htran
htran源码,vc6编译通过,欢迎下载(htran source, vc6 compiler, welcome to download)
- 2016-02-07 11:02:08下载
- 积分:1
-
20171204
日常基本练习,开关灯实现,蛇形输出,竖式输出(Daily basic exercises, switch lights, serpentine output)
- 2017-12-16 13:37:23下载
- 积分:1
-
SUMPLE
非均匀天线组阵SUMPLE权值信噪比及信号合成性能分析(Non-uniform antenna arraying SUMPLE weights SNR performance analysis and signal synthesis)
- 2013-12-20 13:31:43下载
- 积分:1
-
UMAT
通用串行總線是一種通用接口,可實現設備與主機控制器(如個人計算機)之間的通信。它連接外圍設備,如數碼相機,鼠標,鍵盤,打印機,掃描儀,媒體設備,外部硬盤驅動器和閃存驅動器。(A Universal Serial Bus is a common interface that enables communication between devices and a host controller such as a personal computer . It connects peripheral devices such as digital cameras, mice, keyboards, printers, scanners, media devices, external hard drives and flash drives.)
- 2020-06-23 09:40:01下载
- 积分:1
-
coderate
码率、帧率和I B P帧 - 视频技术 - 记录自己的学习点滴(Bit rate, frame rate and IBP frame- video- recording their own learning bit by bit)
- 2010-05-26 18:46:56下载
- 积分:1
-
tull-doreian
说明: 哈夫曼树编码,利用哈夫曼树算法实现对数据的压缩,很好,不错(Huffman tree coding, using Huffman tree algorithm to achieve data compression, good, good)
- 2018-12-31 00:04:48下载
- 积分:1
-
EST_Test_Multi_input
圆度误差分离界面 双通道 模拟数据输入 (Roundness error separation simulation data input interface)
- 2009-07-14 13:12:55下载
- 积分:1
-
Baidu
一个利用bcb的dll写的vc翻译软件 翻译引擎本身简单, 技巧在于利用vc调用bc(Bcb of a use vc dll written translation software translation engine itself is simple trick is to use vc calling bc)
- 2013-12-12 14:17:15下载
- 积分:1
-
filewatchservicetest
使用FileSystemWatcher监控网络路径(包含源代码)
在VS2005中,.Net里面有个FileSystemWatcher控件,用来监控文件变化,它会通知文件创建,修改,删除的消息。网上这样的例子很多,但是在实际应用的时候,发现还有一些待处理的问题,我做了一个简单的demo,解决了如下的问题:
1. 多次连续触发 (通过一个定时器来解决)
2. 能监控网路路径 (serviceProcessInstaller的Account属性设置为NetworkService)
3. 通过windows service来实现, 做成安装文件方便注册服务
注意事项:
1. 切记网络路径要给guest的权限,否则监控不了。
2. 修改Service1代码中的watcher.Path。
3. 新建文件c: est.log,将此文件设置为可写的权限。
4. 安装完成后手动将服务启动。(err)
- 2008-06-14 19:44:06下载
- 积分:1