登录
首页 » Visual C++ » EOSApp

EOSApp

于 2020-12-23 发布 文件大小:2KB
0 462
下载积分: 1 下载次数: 4

代码说明:

  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.)

文件列表:

EOSApp.c, 5433 , 2017-12-25

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

发表评论

0 个回复

  • PlayWithDataStructureSourceCode
    本教材以操作系统原理为主线,结合当今主流操作系统设计方法。(The principles of materials to the main line operating system, combined with today' s mainstream operating system design.)
    2011-11-01 17:18:27下载
    积分:1
  • avoid-deadlock
    操作系统实验-死锁避免算法,word文档,详细,全,可执行,自己写的,希望快点能在贵网站下载。。。(Operating System Experiment- Deadlock avoidance algorithm, word documents, detailed, full, enforceable, wrote it myself, hope quickly in your website. . .)
    2013-10-28 19:05:59下载
    积分:1
  • caozuoxitong
    大三操作系统的报告,完全包干,给需要的人(Third report of the operating system completely lump sum to those who need it)
    2008-12-26 10:20:54下载
    积分:1
  • system
    操作系统作业源代码,方便学习操作系统课程的同学使用 (this is the codes for students who learn computer system.)
    2013-12-30 21:07:39下载
    积分:1
  • diantidiaodu
    驱动调度+操作系统+模拟电梯调动的算法程序,使用C++编写。(Driven scheduling algorithm procedures, the+ operating system+ simulated lift mobilize written using the C++.)
    2012-11-14 20:17:03下载
    积分:1
  • S_Shell
    说明:  用标准C实现shell功能,是操作系统的作业,Linux里面的she(Shell to achieve using standard C function, the operation is the operating system, Linux inside she)
    2008-11-19 22:55:02下载
    积分:1
  • code
    哈夫曼编码和解码 LRU算法模拟 银行家算法模拟 页面地址重定位模拟 进程调度模拟 FIFO算法模拟(Huffman encoding and decoding algorithm simulates LRU algorithm simulation banker page address relocation simulation process scheduling simulation algorithm FIFO simulation)
    2017-02-03 09:11:55下载
    积分:1
  • LinuxGroupMan
    说明:  Unix 成组链接法 模拟UNIX系统的空闲块成组链接法,实现磁盘存储空间的管理(Unix Group Links UNIX System Simulation of spare pieces Group link, disk storage space to achieve the management)
    2020-12-12 19:59:15下载
    积分:1
  • hujianbo
    我的银行家算法,大家来看看。 若要密码 265913(I bankers algorithm, we take a look at. To password 265913)
    2007-01-05 16:48:04下载
    积分:1
  • 33
    说明:  作业调度——先来先服务,最短作业优先,最高响应比优先(Job scheduling- a first-come first-served, shortest job first, highest priority response ratio)
    2011-07-01 19:41:37下载
    积分:1
  • 696516资源总数
  • 106436会员总数
  • 7今日下载