-
EOSApp
1)设计一程序,由一个进程创建三个子进程,三个子进程一个是生产者进程,两个是消费者进程。
2)父子进程都使用父进程创建的共享存储区进行通信,由生产者进程将一个数组中的十个数值发送到由5个缓冲区组成的共享内存中。?
3)两个消费者进程轮流接收并输出这十个数值,同时将两个消费者进程读出的数值进行累加求各和。
4)考虑生产者进程生产的速度和消费者进程速度。(1) a program is designed to create three sub processes from one process, three sub processes is the producer process, and the two is the consumer process.
2) the father child process communicates with the shared storage area created by the parent process, and sends ten values in one array to the shared memory composed of 5 buffers by the producer process. L
3) the two consumer processes take turns to receive and output the ten values, and add values to each of the two consumer processes.
4) take into account the production speed of the producer process and the speed of the consumer process.)
- 2020-12-23 09:19:08下载
- 积分:1
-
youxiandudiaodu
操作系统学习中的模拟CUP如何调度外部进程的算法—优先度调用算法(Analog CUP in the operating system, learn how to schedule external process algorithm- priority call algorithm)
- 2012-08-22 21:45:12下载
- 积分:1
-
OS_EXP3
操作系统实验三(银行家算法),西安电子科技大学出版社, 实验代码, 及数据文件(Operating system experiment, Xi an University of Electronic Science and Technology Publishing House, the experimental code, and data files)
- 2013-04-01 10:22:53下载
- 积分:1
-
jinchengdiaodu
加深进程概念的理解;掌握选择进程调度算法的准则;掌握进程调度算法。
(Deepen the process of understanding of the concept master scheduling criteria selection process algorithm master process scheduling algorithm.)
- 2013-12-10 13:42:14下载
- 积分:1
-
simple-file
简单的文件系统试验源代码,可用于操作系统的大型实验~~(Simple test source code of the file system, the operating system can be used for large-scale experiments to ~)
- 2013-01-06 14:34:35下载
- 积分:1
-
fl2
操作系统 实验二 进程同步与互斥
实现的基本的进程的同步、互斥,并用银行家算法实现与死锁预防(Second, the process of experimental operating system synchronization and mutex realize the basic process synchronization, mutual exclusion, and bankers with the deadlock prevention algorithm)
- 2008-04-21 15:51:39下载
- 积分:1
-
system
操作系统作业源代码,方便学习操作系统课程的同学使用 (this is the codes for students who learn computer system.)
- 2013-12-30 21:07:39下载
- 积分:1
-
shiyan4
广东工业大学计算机学院操作系统4源代码 (Guangdong University of Computer Science 4 source code operating system)
- 2013-01-15 17:20:42下载
- 积分:1
-
4
说明: 这是一个操作系统中关于调度问题中的先来先服务调度算法。(This is an operating system on the scheduling of a first-come first-served scheduling.)
- 2011-06-19 22:42:58下载
- 积分:1
-
OS
说明: 包含操作系统全部试验以及实验报告,稍微修改下就可以了(Contains the operating system all the tests and lab reports, a slight modification can be the next)
- 2010-05-26 11:29:03下载
- 积分:1