摘要: hasQueuedPredecessors()解析 判断队列是否有等待资源的线程 public final boolean hasQueuedPredecessors() { //读取尾节点 Node t = tail; //读取头节点 Node h = head; //s是首节点h的后继节点 No 阅读全文
posted @ 2021-06-25 09:50 CalronLoveRonnie 阅读(44) 评论(0) 推荐(0) 编辑
AmazingCounters.com