加读锁是为了什么?一般读数据又不会修改数据,为什么要加锁?其实加读锁是为了不会读取到中间状态的对象https://blog.csdn.net/zhouwenjun0820/article/details/107392043