-IMDN开发者社群-imdn.cn"> - IMDN开发者社群-imdn.cn">
登录
首页 » Unix_Linux » 操作系统试验报告

操作系统试验报告

于 2005-07-01 发布 文件大小:8KB
0 223
下载积分: 1 下载次数: 295

代码说明:

有界缓冲区内设有20个存储单元,放入/取出的数据项设定为1~20这20个整型数。 要求: (1)每个生产者和消费者对有界缓冲区进行操作后,即时显示有界缓冲区的全部内容.当前指针位置和生产者/消费者线程的标识符 (2)生产者和消费者各有两个以上 (3)多个生产者或多个消费者之间须共享对缓冲区进行操作的函数代码。">

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

发表评论

0 个回复

  • EOSApp
    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.)
    2020-12-23 09:19:08下载
    积分:1
  • fdisk32
    dos下的大容量硬盘分区工具,这是汉化版。(dos under the large-capacity hard disk partitioning tool, which is Chinese Version.)
    2010-01-17 14:14:58下载
    积分:1
  • config
    A config for all to setup and start with, but none to truly use...
    2009-11-25 07:02:24下载
    积分:1
  • 概念第七版(英文版)
    操作系统概念 下册,是一本操作系统学习的推荐入门书籍,讲解详细有条理(Operating System Concepts Volume II is a recommended introductory book for operating system learning, with detailed and organized explanations.)
    2019-04-18 13:54:00下载
    积分:1
  • ThreadX-Chinese
    ThreadX的中文文档,提供了ThreadX实时内核的详细信息.(ThreadX the Chinese documents, provided the ThreadX real-time kernel details.)
    2008-07-23 17:50:12下载
    积分: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
  • zuoyediaodu
    说明:  了解动态分区分配方式中的数据结构和分配算法,并进一步加深对动态分区存储管理方式及其实现过程的理解(Understand the data structure and allocation algorithm in the dynamic partition allocation mode, and further deepen the understanding of the dynamic partition storage management mode and its implementation process)
    2019-12-12 18:36:50下载
    积分:1
  • ozmtool
    说明:  OZMTOOL to extract DSDT from old BIOS
    2019-06-06 15:18:02下载
    积分:1
  • Freedos-b1932-s
    免费dos操作系统(Free dos operating system)
    2004-06-17 21:01:16下载
    积分:1
  • 刷新
    说明:  操作系统定时刷新功能,利用TIMER定时器定时后调用系统刷新功能,可做到计算机自动刷新、开机启动,并可设置刷新间隔时间并存档。(Operating system timing refresh function, using TIMER timer to call system refresh function after timing, can automatically refresh the computer, start, and set refresh interval time and archive.)
    2020-06-16 01:00:01下载
    积分:1
  • 696518资源总数
  • 106235会员总数
  • 12今日下载