文件名称:PROSUM
-
所属分类:
- 标签属性:
- 上传时间:2012-11-16
-
文件大小:4.72kb
-
已下载:0次
-
提 供 者:
-
相关连接:无下载说明:别用迅雷下载,失败请重下,重下不扣分!
介绍说明--下载内容来自于网络,使用问题请自行百度
编程实现生产者-消费者问题。提示:生产者-消费者问题是一个实现线程同步的问题,生产者线程总是先运行,消费者线程在其后,两者交替运行,在程序中生产者线程和消费者线程可以共享数据,生产者线程为数据赋值,消费者线程将数据返回。可以利用创建Thread类的子类来实现。-Programming producer- consumer issues. Tip: Producer- Consumer problem is an implementation of thread synchronization problems, the producer thread is always the first, the consumer thread in the following two alternately operating in the program producer and consumer threads can share data, the producer thread for data assignment, consumer thread will return the data. Can be used to create a subclass of Thread to achieve.
(系统自动生成,下载前可以参看下载内容)
下载文件列表
PROSUM.doc
本网站为编程资源及源代码搜集、介绍的搜索网站,版权归原作者所有! 粤ICP备11031372号
1999-2046 搜珍网 All Rights Reserved.