- SCE_TOOL_BOX SCE(shuffled complex evolution )是一种相对较新的连续性问题的元启发搜索算法
- Match0X 识别一个输入的字符串是否是十六进制数 如果是将其转换成等值的十进制数
- matlab-shock 该程序主要基于对信号的处理
- ANDROID-APPLICATION-PROJECT-LIST heart rate produced by algorithms embedded in the commercially available optical heart rate sensor. An analysis of the raw PPG signal is necessary to fully assess the usability of PPG for heart rate detection in epilepsy
- STM32F103_CDC_Reader STM32F103RBT6 USB CDC source code base on Keil for Virtual com port
- cdpacity 智能天线自适应波束形成算法的研究
文件名称:shengchanzheyuxiaofeizhe
-
所属分类:
- 标签属性:
- 上传时间:2012-11-16
-
文件大小:13.34kb
-
已下载:0次
-
提 供 者:
-
相关连接:无下载说明:别用迅雷下载,失败请重下,重下不扣分!
介绍说明--下载内容来自于网络,使用问题请自行百度
设计目的:通过研究Linux 的进程机制和信号量,实现生产者消费者问题的并发控制.
说明:有界缓冲区内设有20个存储单元,有界缓冲区可用数组实现,缓冲区中的内容自定。
设计要求:(1)每个生产者和消费者对有界缓冲区进行操作后,即时显示有界缓冲区的全部内容,当前指针位置和生产者/消费者进程标识符.(2)生产者和消费者至少各有两个以上.(3)多个生产者或多个消费者之间须有对缓冲区进行共享操作的函数代码(注意互斥与同步).-Design Objective: To study the mechanism and process of Linux semaphores to achieve producer-consumer problem of concurrency control. Descr iption: bounded buffer storage units are equipped with 20, bounded buffer can be used to achieve the array, the contents of the buffer Custom. Design requirements: (1) Each producer and consumer of the bounded buffer operations immediately after the show the entire contents of a bounded buffer, the current pointer position and the producer/consumer process identifier (2) Producer and consumers have at least two or more (3) A number of producers or consumers should have to share operation of the buffer function of the code (note the mutual exclusion and synchronization).
说明:有界缓冲区内设有20个存储单元,有界缓冲区可用数组实现,缓冲区中的内容自定。
设计要求:(1)每个生产者和消费者对有界缓冲区进行操作后,即时显示有界缓冲区的全部内容,当前指针位置和生产者/消费者进程标识符.(2)生产者和消费者至少各有两个以上.(3)多个生产者或多个消费者之间须有对缓冲区进行共享操作的函数代码(注意互斥与同步).-Design Objective: To study the mechanism and process of Linux semaphores to achieve producer-consumer problem of concurrency control. Descr iption: bounded buffer storage units are equipped with 20, bounded buffer can be used to achieve the array, the contents of the buffer Custom. Design requirements: (1) Each producer and consumer of the bounded buffer operations immediately after the show the entire contents of a bounded buffer, the current pointer position and the producer/consumer process identifier (2) Producer and consumers have at least two or more (3) A number of producers or consumers should have to share operation of the buffer function of the code (note the mutual exclusion and synchronization).
(系统自动生成,下载前可以参看下载内容)
下载文件列表
shengchanzheyuxiaofeizhe.doc
1999-2046 搜珍网 All Rights Reserved.
本站作为网络服务提供者,仅为网络服务对象提供信息存储空间,仅对用户上载内容的表现方式做保护处理,对上载内容本身不做任何修改或编辑。
