文件名称:ProcessesCommunication
-
所属分类:
- 标签属性:
- 上传时间:2012-11-16
-
文件大小:1.34kb
-
已下载:0次
-
提 供 者:
-
相关连接:无下载说明:别用迅雷下载,失败请重下,重下不扣分!
介绍说明--下载内容来自于网络,使用问题请自行百度
程序模拟操作系统课程中的进程间通信,方便起见,各个进程只有编号信息。所用数据结构为大小为10的队列。运行情况为:用户输入进程总数以及各个进程的编号,此后程序模拟进程对队列提出请求,若队列不空,则插入,队列满则不予插入。程序利用rnd这个随机变量是奇数还是偶数决定是入队还是出队。-Procedures for operating systems courses in the simulation process communication, convenience, only the number of information processes. Data structure used for the size of the queue 10. Operation as follows: the total number of user input process, as well as the number of processes, since the procedures of the modeling process the request queue if the queue is not empty, then insert, queue full are not inserted. Procedures for the use of the random variable rnd is odd or even decision is still a team to the team.
(系统自动生成,下载前可以参看下载内容)
下载文件列表
ProcessesCommunication.cpp
本网站为编程资源及源代码搜集、介绍的搜索网站,版权归原作者所有! 粤ICP备11031372号
1999-2046 搜珍网 All Rights Reserved.