Technique 2: Reducing lock granularity.
技术2:减小锁的粒度。
youdao
In this case, lock granularity is very important.
在这种情况下,锁的粒度是非常重要的。
应用推荐
模块上移
模块下移
不移动