【并发编程】 --- Reentrantlock源码解析5:再探不可中断性 + 线程unpark后诡异的Thread.interrupted()判断

文章目录 1 想要读懂这篇文章必须要拥有的前置知识 2 想写这篇文章的原因 3 困扰我很久的Reentrantlock源代码1 --- 貌似无用的变量failed 4 困扰我很久的Reentrantlock源代码2 --- unpark后为啥要来个Thread.interrupted(); 5 小记 源码地址:https://github.com/nieandsun/concurrent-stud
相关文章
相关标签/搜索