ReenTranReadWriteLock 讀寫鎖 筆記

參考博客鏈接: 1.http://www.javashuo.com/article/p-xrwgsdky-mn.html 2.https://blog.csdn.net/yanyan19880509/article/details/52435135 背景知識 繼承AQS的類都需要使用state變量代表某種資源,ReentrantReadWriteLock中的state代表了讀鎖的數量和寫鎖的持有與
相關文章
相關標籤/搜索