一.重入锁(ReentrantLock) 二.锁的等待与通知-----Condition 执行main函数方法得到如下结果: 三.多Condition 四.公平和非公平锁 默认非公平(true) 五.读写锁 ReentrantReadWriteLock