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