文件名称:1
介绍说明--下载内容均来自于网络,请自行研究使用
本次课程设计在本着加强课本知识运用能力的前提下,用PV操作来解决生产者消费者问题这个题目。该题目主要是解决操作系统中进程的同步与互斥的问题。
有界缓冲区内设有20个存储单元,放入/取出的数据项设定为1-20这20个整型数.
(1)每个生产者和消费者对有界缓冲区进行操作后,即时显示有界缓冲区的全部内容,当前指针位置和生产者/消费者进程的标识符.
(2)生产者和消费者各有两个以上.
(3)多个生产者或多个消费者之间须有共享对缓冲区进行操作的函数代码.
-The curriculum design, textbook knowledge in the spirit of strengthening the ability to use the premise, using PV operation to solve the producer consumer problem on this subject. The topic is mainly to resolve the process of the operating system synchronization and mutual exclusion issues. Bounded buffer is equipped with 20 memory units, into/out of the data item is set to 1-20 these 20 integers. (1) Every producer and consumer to have the industry to operate after the buffer , real-time display the entire contents of a bounded buffer, the current pointer position and the producer/consumer process identifier. (2) producers and consumers have more than two. (3) or more of several producers of consumer there must be shared between the operations on the buffer function of the code.
有界缓冲区内设有20个存储单元,放入/取出的数据项设定为1-20这20个整型数.
(1)每个生产者和消费者对有界缓冲区进行操作后,即时显示有界缓冲区的全部内容,当前指针位置和生产者/消费者进程的标识符.
(2)生产者和消费者各有两个以上.
(3)多个生产者或多个消费者之间须有共享对缓冲区进行操作的函数代码.
-The curriculum design, textbook knowledge in the spirit of strengthening the ability to use the premise, using PV operation to solve the producer consumer problem on this subject. The topic is mainly to resolve the process of the operating system synchronization and mutual exclusion issues. Bounded buffer is equipped with 20 memory units, into/out of the data item is set to 1-20 these 20 integers. (1) Every producer and consumer to have the industry to operate after the buffer , real-time display the entire contents of a bounded buffer, the current pointer position and the producer/consumer process identifier. (2) producers and consumers have more than two. (3) or more of several producers of consumer there must be shared between the operations on the buffer function of the code.
相关搜索: 生产者和消费者
(系统自动生成,下载前可以参看下载内容)
下载文件列表
新建 文本文档.txt