摘要: class Resource { private boolean flag = false; private String name; private int count; //资源锁 Lock lock = new ReentrantLock(); //监视器类 Condition produce 阅读全文
posted @ 2018-07-26 14:22 仙人掌的成长 阅读(181) 评论(0) 推荐(0) 编辑