https://codingnote.cc/zh-tw/p/127853/
悲观锁与乐观锁的实现(详情图解)