1. 程式人生 > >9-Lock顯式鎖

9-Lock顯式鎖

https://www.jianshu.com/p/1b4c2e960c30

 

sychronized 互斥鎖

LOCK<---ReentrantLock 可重入鎖

ReadWriteLock<----ReentrantReadWriteLock 讀寫鎖

 

公平鎖