Java入门(16)锁

序言

 

volatile

synchronized

ThreadLocal

ReentrantLock

ReentrantReadWriteLock

stampedlock

java分布式锁

BlockingQueue即阻塞队列,它是基于ReentrantLock

资料

posted @ 2021-03-28 13:45  ~沐风  阅读(60)  评论(0编辑  收藏  举报