摘要: 应用示例 class Demo{ int number; ReentrantReadWriteLock lock = new ReentrantReadWriteLock(); public void read(){ //读锁 lock.readLock().lock(); try { System 阅读全文
posted @ 2020-03-13 17:50 超级学渣渣 阅读(157) 评论(0) 推荐(0) 编辑