登录
首页 » Visual C++ » EOSApp

EOSApp

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

  • hujianbo
    我的银行家算法,大家来看看。 若要密码 265913(I bankers algorithm, we take a look at. To password 265913)
    2007-01-05 16:48:04下载
    积分:1
  • process_attemper
    1、 :编写并调试一个模拟的进程调度程序,采用“最高优先数优先”调度算法对进程进行调度。 “最高优先数优先调度算法的基本思想是把CPU分配给就绪队列中优先数最高的进程。尝试静态优先数与动态优先数两种方法: a) 静态优先数是指优先数在整个进程运行期间不再改变。优先数可以在数据输入时指定,也可以根据到达顺序、运行时间确定。 b) 动态优先数是指进程的优先数在创建进程时可以给定一个初始值,并且可以按一定原则修改优先数。例如进程获得一次CPU后就将其优先数减少1。或者进程等待的时间超过某一时限时增加其优先数的值。 2、 编写并调试一个模拟的进程调度程序,模拟实现多级反馈队列调度算法。 3、 编写并调试一个模拟的进程调度程序,模拟实现最低松弛度优先算法。 4、 程序与报告要求: a) 对上述要求1、2、3,至少要完成一项,鼓励尝试多种算法。 b) 输出结果要尽量详细清晰,能够反映调度后队列变化,PCB内部变化。 c) 可以选择在Windows或Linux环境下编写、运行程序 d) 鼓励使用不同的开发工具在不同平台环境上进行开发比较。 e) 在实验报告中,一方面可以对实验结果进行分析,一方面可以对各种算法进行比较,分析它们的优劣,说明各种算法适用于哪些情况下的调度。 (1 : Prepare a simulation and debugging process scheduling procedures, "Priority number of the highest priority" to the process of scheduling algorithms for scheduling. "Highest priority priority scheduling algorithm for the basic idea is to place the CPU allocated to the priority queue highest process. Taste Examination several static and dynamic priority priority number two methods : a) static priority number is priority number in operation during the entire process will not change. priority number in the designated input data, can be reached under the order, running time determine. b) dynamic priority number refers to several priorities for the process of the creation process can be given an initial value, and according to the principle of amending certain priority number.)
    2007-07-04 12:57:51下载
    积分: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
  • file-management-experiment
    操作系统文件管理实验:利用交互式命令实现树型目录结构和文件管理,同时利用位示图表示外存的分配情况,新建文件时分配必要的空间,模拟文件分配表记录文件在外存上的存储方式。了解系统对文件的操作。 在文件中保存目录内容,创建文件或子目录可以用命令行命令:MD、CD、RD、MK(创建文件)、DEL(删除文件)和DIR(Operating system file management experiment: the use of interactive command tree directory structure and file management, while taking advantage of the bit map indicates the distribution of the external memory, and allocate the necessary space when a new file is created, the simulation file allocation table log file is stored in the external memory way. Understanding of the system operation on the file. Save the contents of a directory in the file, create a file or subdirectory can use the command-line command: MD, CD, RD, MK (create a file), DEL (delete files) and DIR)
    2020-12-12 20:49:17下载
    积分:1
  • 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
  • txNFlFCf
    说明:  消费代码.用于操作系统中的课程设计使用.愿大家提供建议我也好改进算法(Consumer code. For the operating system to use the curriculum design. I would like to provide recommendations to improve the algorithm or)
    2008-11-21 17:27:31下载
    积分:1
  • vb+sql
    根据餐饮行业的特点和该企业的实际情况,该系统应以餐饮业务为基础,突出前台管理,从专业角度出发,提供科学有效的管理模式。点菜方面采取图形界面加数据的方式,使用户能直观地管理数据信息,并能有效地管理每个开台的房间台号所点的酒菜。点菜收银管理可实现点菜、转台、并台、结账、清台。库房管理可记录商品入库、出库情况。营业分析可对客人点单情况、房台营业情况、酒菜销售情况、销售收入等进行分析。点菜收银、营业分析、库房管理的有机结合,可为酒店经营方向提供依据,为酒店餐馆的发展提供重要保证。 根据该企业的具体情况,系统主要功能设计有五大部分,分别为前台管理、营业管理、财政管理、辅助管理、系统管理。 1、前台管理:主要是对餐饮前台收银的管理。包括接待预定、点菜收银和吧厨出品。 2、营业管理:包括房间台号管理和员工信息管理。 3、财政管理:主要是对财务方面的管理。包括点单查询和会员查询。 4、辅助管理:主要是对基础信息的管理。包括会员管理各员工管理。 5、系统管理:包括重新登录和退出系统。 (err)
    2020-12-13 09:39:15下载
    积分:1
  • ddos
    非常强大的DDOS嘎嘎,速度下载把,版权帝们,(Very strong DDOS quack)
    2014-01-30 19:18:33下载
    积分: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
  • 可变分区
    说明:  可变分区,一个很重要的操作系统原代码,很详细的拉,个人下载参考参考。(Variable Division, a very important source operating system, a very detailed and pulling personal information. Download.)
    2006-01-10 20:58:02下载
    积分:1
  • 696524资源总数
  • 103838会员总数
  • 43今日下载