摘要: Lock锁的公平性和非公平性 1、lock锁项目使用 在项目中的使用方式: public class AQSTestOne { // 使用公平锁来进行测试 private static final Lock LOCK = new ReentrantLock(true); public static 阅读全文
posted @ 2022-03-13 15:28 写的代码很烂 阅读(1396) 评论(0) 推荐(0) 编辑