文件名称:Producers-and-consumers
-
所属分类:
- 标签属性:
- 上传时间:2013-07-01
-
文件大小:2.54kb
-
已下载:1次
-
提 供 者:
-
相关连接:无下载说明:别用迅雷下载,失败请重下,重下不扣分!
介绍说明--下载内容来自于网络,使用问题请自行百度
多进程/ 线程编程:生产者 - 消费者问题。
1,设置两类进程/ 线程,一类为生产者,一类为消费者;
2,建立缓冲区的数据结构;
3,随机启动生产者或消费者;
4,显示缓冲区状况;
5,随着进程/ 线程每次操作缓冲区,更新显示;-Multi-process/thread programming: producer- consumer issues. 1, set two types of processes/threads, one for producers, a class of consumers 2, the establishment of buffer data structure 3 random start producers or consumers 4, the display buffer status 5, with the the process/thread each operation buffer, update the display
1,设置两类进程/ 线程,一类为生产者,一类为消费者;
2,建立缓冲区的数据结构;
3,随机启动生产者或消费者;
4,显示缓冲区状况;
5,随着进程/ 线程每次操作缓冲区,更新显示;-Multi-process/thread programming: producer- consumer issues. 1, set two types of processes/threads, one for producers, a class of consumers 2, the establishment of buffer data structure 3 random start producers or consumers 4, the display buffer status 5, with the the process/thread each operation buffer, update the display
(系统自动生成,下载前可以参看下载内容)
下载文件列表
生产者消费者/源码.txt
生产者消费者
生产者消费者
1999-2046 搜珍网 All Rights Reserved.
本站作为网络服务提供者,仅为网络服务对象提供信息存储空间,仅对用户上载内容的表现方式做保护处理,对上载内容本身不做任何修改或编辑。