登录
首页 » Visual C++ » EOSApp

EOSApp

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

  • 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
  • FCFS
    系统调度中先进先出FCFS算法代码 操作系统课设可用(FIFO system FCFS scheduling algorithm code class-based operating system available)
    2015-11-30 20:53:48下载
    积分:1
  • Cpp1
    模拟操作系统进程调度:运行状态,就绪状态和完成状态。包含有first() prisch() insert1(q) creat(gg) prish() roundsch() 函数的引用。(Simulate the operating system process scheduling: running, ready states, and completion status. Contains the first () prisch () insert1 (q) creat (gg) prish () roundsch () function reference.)
    2011-11-19 08:13:15下载
    积分:1
  • five
    FIFO和LRU页面置换算法,使用c++写的,有功能号,可以选择功能,进行相应的操作!(FIFO and LRU page replacement algorithm, using c++ written in the functional number, you can choose functions to carry out the appropriate action!)
    2010-01-14 16:39:34下载
    积分:1
  • distributionofstoragemanagementandrecovery
    模拟段式存储管理的分配与回收,能够输入给定的内存大小,进程的个数,每个进程的段数及段大小;当某进程提出申请空间的大小后,显示能否满足申请,以及为该进程分配资源后有关内存空间使用的情况。 (Analog-stage distribution of storage management and recovery, be able to enter a given memory size, number of processes, each process segment number and segment size when a space the size of the application process, the show can meet the application, as well as the The process, after the allocation of resources relating to the use of memory space.)
    2020-09-17 16:37:55下载
    积分:1
  • hpa48
    HPA就是host protect area(HPA is the host protect area)
    2007-09-17 09:10:12下载
    积分:1
  • system
    操作系统作业源代码,方便学习操作系统课程的同学使用 (this is the codes for students who learn computer system.)
    2013-12-30 21:07:39下载
    积分:1
  • process-and-thread-Technology
    进程和线程技术 Linux和windows进程创建 进程和线程通信 文档+实例分析(process and thread Technology Text and examples)
    2012-01-05 10:51:28下载
    积分:1
  • PCB
    pcb实现。。进程管理。就绪队列,阻塞队列实现(pcb to achieve)
    2011-11-23 13:38:34下载
    积分: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
  • 696524资源总数
  • 103978会员总数
  • 64今日下载