登录
首页 » Visual C++ » EOSApp

EOSApp

于 2020-12-23 发布 文件大小:2KB
0 497
下载积分: 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 个回复

  • 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
  • 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
  • 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
  • coolPACK
    制冷专业软件,非常实用,可计算制冷系统,制冷剂的物性(Refrigeration professional software is very useful, computable refrigeration system, refrigerant properties)
    2008-07-16 12:49:39下载
    积分:1
  • Page-replacement
    页面置换算法的模拟实现及命中率对比.通过模拟实现几种基本页面置换的算法,了解虚拟存储技术的特点(Simulation of page replacement algorithm, and the hit rate compared to several basic page replacement algorithm through simulation to understand the characteristics of virtual storage technology)
    2012-03-29 14:59:46下载
    积分:1
  • program
    作业调度程序,模拟操作系统的作业调度过程,协调和控制各个作业对cpu的使用控制(Job scheduling program to simulate the process of the operating system job scheduling, coordinating and controlling the use of control operations on cpu)
    2011-05-19 17:32:58下载
    积分:1
  • ch01
    说明:  ucos2 vc++移植代码 通过VC++编译,每2S显示一次任务(ucos2 vc++ code migration)
    2010-03-18 21:32:43下载
    积分:1
  • subject_3
    对于OPT算法,在有多个页面可选的情况下,先淘汰较早进入的页面)。 3. 计算缺页次数及缺页率。 测试用例格式如下: 输入: 算法(1 OPT,2 FIFO,3 LRU) 内存块数 页面序列(页面1,页面2,页面3,...) 输出: 页面变化时内存块装入页面列表1-是否命中/页面变化时内存块装入页面列表2-是否命中/... 缺页次数 其中: 页面变化时内存块装入页面列表:内存块1装入页面,内存块2装入页面,内存块3装入页面...,未装入任何页面时由 -”表示 是否命中:1-命中,0-缺页">
    2021-04-27 00:48:45下载
    积分:1
  • job
    操作系统中模拟作业进入内存的状态,作业调度程序(Operating system job scheduler)
    2012-02-01 15:33:53下载
    积分:1
  • 696516资源总数
  • 106633会员总数
  • 4今日下载