-
main
为了了解系统的资源分配情况,假定系统的任何一种资源在任一时刻只能被一个进程使用。任何进程已经占用的资源只能由进程自己释放,而不能由其他进程抢占。当进程申请的资源不能满足时,必须等待。因此,只要资源分配算法能保证进程的资源请求,且不出现循环等待,则系统不会出现死锁。
要求编写系统进行资源调度的程序,采用银行家算法,有效地避免死锁的产生。(In order to understand the resource allocation of the system, it is assumed that any resource of the system can only be used by one process at any one time. Any resources that have been occupied by the process can only be released by the process itself, rather than by other processes. You must wait when the resources for the process cannot be satisfied. Therefore, as long as the resource allocation algorithm can guarantee the resource request of the process, and there is no circular waiting, the system will not deadlock. Write the system scheduling procedures for resources, using bankers algorithm, effectively avoid the deadlock.)
- 2017-11-26 20:49:34下载
- 积分:1
-
9682767
C语言如何使用函数中的局部变量,仅供学习与参考(How to use C language function of the local variable, is only for study and reference)
- 2017-08-19 14:31:44下载
- 积分:1
-
jishiqi1
使用C++实现的小程序。计时器单位转换。输入为整型数单位为秒,输出格式为DDD:HH:MM:SS的时间。华为机试。(Use C++ achieve applet. Timer unit conversion. Enter an integer number of seconds, the output format is DDD: HH: MM: SS time. Huawei machine again.)
- 2013-12-06 09:48:52下载
- 积分:1
-
Cad-adding
Cad中数字求和,简单实用型,可以看到累计的数(cad adding )
- 2011-01-24 11:14:44下载
- 积分:1
-
MS_6
这是C++Primer的书籍的源代码,包括课后习题的答案,是份很不错的代码,尤其针对初学者(This is the source code of C++Primer books, including after-school exercises, answers, were very good code, especially for beginners)
- 2012-07-05 13:31:36下载
- 积分:1
-
IDE00
能过VB程序,读取硬件信息,包括硬盘、BIOS,等等(Lead a VB program to read hardware information, including hard drives, BIOS, etc.)
- 2010-07-09 17:17:30下载
- 积分:1
-
11
说明: 完整的电动车防盗报警器源码,单片机:EMC78P153S,源码注释清晰(Complete source of electric vehicle anti-theft alarm, MCU: EMC78P153S, source notes clear)
- 2013-01-11 09:11:46下载
- 积分:1
-
AT24C02(消费+充值)
通过按键在数码管进行简单的充值和消费。比如数码管的数值是100,按一个按键消费10,那么按另一个按键是充值10元,(Through the button in the digital tube for simple recharge and consumption. For example, the number of digital tube is 100, the consumption of 10 by one button is 10 yuan by another key.)
- 2018-05-27 17:16:25下载
- 积分:1
-
简易网络嗅探器
网络嗅探器在网路安全方面扮演很重要的角色。使用网络嗅探器可以把网卡设置为混杂模式,并可实现对网络上传输的数据包的捕获与分析。次分析结果可供网络安全分析之用,更有可能被用来做一些黑客行为。本文将详细介绍嗅探器的实现原理,并给出一个简单的实例。(Network sniffer plays a very important role in network security. The network sniffer can be used to set the network card as promiscuous mode, and it can capture and analyze the data packets transmitted on the network. The results of sub analysis can be used for network security analysis, and more likely to be used to do some hacker behavior. In this paper, the implementation principle of sniffer is introduced in detail, and a simple example is given.)
- 2017-10-27 20:45:09下载
- 积分:1
-
VB 摄像头视频远程传输实例
说明: 主要功能是可以控制和监视客户端,如捕捉客户端屏幕、发送消息到客户端、锁定客户端、解锁客户端、控制注销客户端(The main functions are to control and monitor the client, such as capturing the client screen, sending messages to the client, locking the client, unlocking the client, and controlling the logout client.)
- 2020-06-15 22:55:01下载
- 积分:1