Because you're sharing the same mutex for push and pop operations, the data-read speed is somewhat compromised as writer threads access the lock.
因为添加和取出数据操作使用相同的互斥锁,所以读取数据的速度会影响写数据的线程访问锁。
youdao
The lock will pop open.
锁就会打开了。
应用推荐
模块上移
模块下移
不移动