摘要: 手写自旋锁 public class SpinLockDemo { AtomicReference<Thread> atomicReference = new AtomicReference<>(); public void lock(){ Thread thread = Thread.curren 阅读全文
posted @ 2022-12-21 20:18 wwwwwwwty 阅读(52) 评论(0) 推荐(0)