文件名称:ProducerConsumer

  • 所属分类:
  • 其他小程序
  • 资源属性:
  • [Windows] [Visual.Net] [源码]
  • 上传时间:
  • 2014-11-04
  • 文件大小:
  • 7.05mb
  • 下载次数:
  • 0次
  • 提 供 者:
  • 符*
  • 相关连接:
  • 下载说明:
  • 别用迅雷下载,失败请重下,重下不扣分!

介绍说明--下载内容均来自于网络,请自行研究使用

生产者消费者问题(英语:Producer-consumer problem),也称有限缓冲问题(英语:Bounded-buffer problem),是一个多线程同步问题的经典案例。该问题描述了两个共享固定大小缓冲区的线程——即所谓的“生产者”和“消费者”——在实际运行时会发生的问题。生产者的主要作用是生成一定量的数据放到缓冲区中,然后重复此过程。与此同时,消费者也在缓冲区消耗这些数据。该问题的关键就是要保证生产者不会在缓冲区满时加入数据,消费者也不会在缓冲区中空时消耗数据。-Producers and consumers (English: Producer-consumer problem), also known as finite buffer problems (English: Bounded-buffer problem), is a classic case of multi-threaded synchronization problems. The problem described two threads share a fixed size buffer- the so-called " producers" and " consumers" - in the actual run-time problems occur. The main role of the producer is to generate a certain amount of data into the buffer, and then repeat the process. At the same time, consumers are consuming the data buffer. The key to this problem is to ensure that producers will not join the data in the buffer is full, the consumer does not consume the data in the buffer is hollow.
(系统自动生成,下载前可以参看下载内容)

下载文件列表





ProducerConsumer\Debug\ProducerConsumer.exe

................\.....\ProducerConsumer.ilk

................\.....\ProducerConsumer.pdb

................\ProducerConsumer\Debug\CL.read.1.tlog

................\................\.....\CL.write.1.tlog

................\................\.....\link-cvtres.read.1.tlog

................\................\.....\link-cvtres.write.1.tlog

................\................\.....\link-rc.read.1.tlog

................\................\.....\link-rc.write.1.tlog

................\................\.....\link.14464-cvtres.read.1.tlog

................\................\.....\link.14464-cvtres.write.1.tlog

................\................\.....\link.14464-rc.read.1.tlog

................\................\.....\link.14464-rc.write.1.tlog

................\................\.....\link.14464.read.1.tlog

................\................\.....\link.14464.write.1.tlog

................\................\.....\link.16660-cvtres.read.1.tlog

................\................\.....\link.16660-cvtres.write.1.tlog

................\................\.....\link.16660-rc.read.1.tlog

................\................\.....\link.16660-rc.write.1.tlog

................\................\.....\link.16660.read.1.tlog

................\................\.....\link.16660.write.1.tlog

................\................\.....\link.17164-cvtres.read.1.tlog

................\................\.....\link.17164-cvtres.write.1.tlog

................\................\.....\link.17164-rc.read.1.tlog

................\................\.....\link.17164-rc.write.1.tlog

................\................\.....\link.17164.read.1.tlog

................\................\.....\link.17164.write.1.tlog

................\................\.....\link.17480-cvtres.read.1.tlog

................\................\.....\link.17480-cvtres.write.1.tlog

................\................\.....\link.17480-rc.read.1.tlog

................\................\.....\link.17480-rc.write.1.tlog

................\................\.....\link.17480.read.1.tlog

................\................\.....\link.17480.write.1.tlog

................\................\.....\link.18404-cvtres.read.1.tlog

................\................\.....\link.18404-cvtres.write.1.tlog

................\................\.....\link.18404-rc.read.1.tlog

................\................\.....\link.18404-rc.write.1.tlog

................\................\.....\link.18404.read.1.tlog

................\................\.....\link.18404.write.1.tlog

................\................\.....\link.7184-cvtres.read.1.tlog

................\................\.....\link.7184-cvtres.write.1.tlog

................\................\.....\link.7184-rc.read.1.tlog

................\................\.....\link.7184-rc.write.1.tlog

................\................\.....\link.7184.read.1.tlog

................\................\.....\link.7184.write.1.tlog

................\................\.....\link.read.1.tlog

................\................\.....\link.write.1.tlog

................\................\.....\ProducerConsumer.lastbuildstate

................\................\.....\ProducerConsumer.log

................\................\.....\ProducerConsumer.obj

................\................\.....\vc110.idb

................\................\.....\vc110.pdb

................\................\ProducerConsumer.cpp

................\................\ProducerConsumer.vcxproj

................\................\ProducerConsumer.vcxproj.filters

................\ProducerConsumer.sdf

................\ProducerConsumer.sln

................\ProducerConsumer.v11.suo

................\................\Debug

................\Debug

................\ProducerConsumer

ProducerConsumer

相关说明

  • 本站资源为会员上传分享交流与学习,如有侵犯您的权益,请联系我们删除.
  • 本站是交换下载平台,提供交流渠道,下载内容来自于网络,除下载问题外,其它问题请自行百度更多...
  • 请直接用浏览器下载本站内容,不要使用迅雷之类的下载软件,用WinRAR最新版进行解压.
  • 如果您发现内容无法下载,请稍后再次尝试;或者到消费记录里找到下载记录反馈给我们.
  • 下载后发现下载的内容跟说明不相乎,请到消费记录里找到下载记录反馈给我们,经确认后退回积分.
  • 如下载前有疑问,可以通过点击"提供者"的名字,查看对方的联系方式,联系对方咨询.

相关评论

暂无评论内容.

发表评论

*主  题:
*内  容:
*验 证 码:

源码中国 www.ymcn.org