登录
首页 » Visual C++ » EOSApp

EOSApp

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

  • caozuoxitong
    操作系统综合实验报告 关于单处理器系统的进程调度的实验报告分析以及源码(Operating a comprehensive report on the experimental process of scheduling a single processor system analysis and the source of the experimental report)
    2010-01-08 18:53:47下载
    积分:1
  • OS
    说明:  这是操作系统中调度算法中时间片轮转算法完成后的实践报告(This is the operating system scheduling algorithm in the time slice cycle after the completion of practice report)
    2010-09-06 10:48:24下载
    积分:1
  • system
    操作系统作业源代码,方便学习操作系统课程的同学使用 (this is the codes for students who learn computer system.)
    2013-12-30 21:07:39下载
    积分:1
  • Storage_Simulator0001
    在采用多道程序设计的系统中,往往有若干个进程同时处于就绪状态。当就绪进程个数大于处理机数时,就必须依照某种策略来决定哪些进程优先占用处理机。本实验模拟在单处理机情况下的处理机调度,帮助学生加深了解处理机调度的工作。 二、实验类型 设计型。 三、预习内容 预习课本处理机调度有关内容,包括进程占用处理机的策略方法。 四、实验要求与提示 设计进程调度算法,进程数不定;包含几种调度算法,并加以实现;输出进程的调度过程——进程的状态、链表等。要求使用优先权法和轮转法模拟进程调度过程。 【提示】:简化假设 1) 进程为计算型的(无I/O) 2) 进程状态:ready、running、finish 3) 进程需要的CPU时间以时间片为单位确定 【提示】:算法描述 1) 优先权法——动态优先权,当前运行进程用完时间片后,其优先权减去一个常数。 2) 轮转法 (err)
    2008-06-12 19:04:46下载
    积分:1
  • 33
    说明:  作业调度——先来先服务,最短作业优先,最高响应比优先(Job scheduling- a first-come first-served, shortest job first, highest priority response ratio)
    2011-07-01 19:41:37下载
    积分: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
  • ch01
    说明:  ucos2 vc++移植代码 通过VC++编译,每2S显示一次任务(ucos2 vc++ code migration)
    2010-03-18 21:32:43下载
    积分: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
  • ddos
    非常强大的DDOS嘎嘎,速度下载把,版权帝们,(Very strong DDOS quack)
    2014-01-30 19:18:33下载
    积分:1
  • operatingsystem
    操作系统页面置换 调度 寻道程序 简短使用(Page seek replacement operating system scheduling procedures)
    2009-05-17 08:09:54下载
    积分:1
  • 696516资源总数
  • 106914会员总数
  • 0今日下载