摘要:
public static void main() { Resource r = new Resource(); Producer pro = new Producer(r); Consumer con = new Consumer(r); Thread t1 = new Thread(pro); Thread t2= new Thread(con); t1.start(); ... 阅读全文
posted @ 2017-10-31 23:00 yacbo 阅读(163) 评论(0) 推荐(0) 编辑