文件名称:include1
-
所属分类:
- 标签属性:
- 上传时间:2012-11-16
-
文件大小:4.99kb
-
已下载:0次
-
提 供 者:
-
相关连接:无下载说明:别用迅雷下载,失败请重下,重下不扣分!
介绍说明--下载内容来自于网络,使用问题请自行百度
因为有多个缓冲区,所以生产者线程没有必要在生成新的数据之前等待最后一个数据被消费者线程处理完毕。同样,消费者线程并不一定每次只能处理一个数据。在多缓冲区机制下,线程之间不必互相等待形成死锁,因而提高了效率。
-Because there are a number of the buffer zone, so there is no need for the producer thread to generate new data on waiting until the last thread of data processed by consumers. Similarly, consumers do not necessarily each thread can only handle a data. In a multi-buffer mechanism, between the threads do not have to wait for the formation of deadlock with each other, thereby enhancing efficiency.
-Because there are a number of the buffer zone, so there is no need for the producer thread to generate new data on waiting until the last thread of data processed by consumers. Similarly, consumers do not necessarily each thread can only handle a data. In a multi-buffer mechanism, between the threads do not have to wait for the formation of deadlock with each other, thereby enhancing efficiency.
(系统自动生成,下载前可以参看下载内容)
下载文件列表
include1.doc
本网站为编程资源及源代码搜集、介绍的搜索网站,版权归原作者所有! 粤ICP备11031372号
1999-2046 搜珍网 All Rights Reserved.