摘要:
/** * 多生产者 多消费者问题 * * 该代码存在死锁问题 * 因为有可能唤醒本方 * @author 黄二狗 * */ public class Test { public static void main(String[] args) { Resource r = new Resource( 阅读全文
posted @ 2017-10-18 23:45
Mr_Bean
阅读(959)
评论(0)
推荐(0)
摘要:
package com.demo; public class Test { public static void main(String[] args) { Resource resource = new Resource(); Input input = new Input(resource); 阅读全文
posted @ 2017-10-18 10:02
Mr_Bean
阅读(170)
评论(0)
推荐(0)
浙公网安备 33010602011771号