A Waiter relays an order Object to a Producer, waits in an independent thread during the production, and then delivers the result using a Consumer callback method.
标签: independent production Producer Waiter
上传时间: 2015-02-10
上传用户:lepoke
Producer-consumer problem 的源码
标签: Producer-consumer problem 源码
上传时间: 2015-08-21
上传用户:llandlu
DXF Producer by Fortran
上传时间: 2015-12-22
上传用户:invtnewer
一个简单的Java多线程的小例子。 a) Producer 生产 String,并保存在 ArrayList 中。Consumer 消耗(读出并显 示)String,并把它从 ArrayList 中删除。生产和消耗应在 console有打印显示。 b) 可指定生产者生产多少个数据,也可以指定消费者消耗多少个数据。完成要求数据 的生产或消费以后,线程自动终止。(应提供相应的构造函数来指定数据个数) c) 当容器内没有数据时,Consumer 应等待,等容器内有新的数据后再次开始消费。
上传时间: 2016-07-22
上传用户:yimoney
Producer Consumer Algorithm Implement by Java
标签: Algorithm Implement Producer Consumer
上传时间: 2017-03-07
上传用户:sdq_123
用java实现经典consumer和Producer通信问题的程序
上传时间: 2017-04-05
上传用户:ccclll
this is test program which tries to solve Producer consumer problem
标签: consumer Producer program problem
上传时间: 2014-01-10
上传用户:zgu489
Producer and consumer example en c
标签: Producer consumer example and
上传时间: 2014-11-22
上传用户:sk5201314
Producer and consumer not sincronized, other example
标签: sincronized Producer consumer example
上传时间: 2017-07-15
上传用户:集美慧
a code that represents the consumer Producer problem
标签: represents consumer Producer problem
上传时间: 2014-01-05
上传用户:zhaiyanzhong