文件名称:Producers-and-consumers
介绍说明--下载内容均来自于网络,请自行研究使用
多进程/ 线程编程:生产者 - 消费者问题。
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
生产者消费者