Did you turn off the lights and check the locks on all the doors?
你关了灯,检查了所有门的锁了吗?
The first thread locks the mutex and appends data to the queue, while the other threads wait for their turn.
第一个线程锁住互斥并把数据添加到队列中,而其他线程等待轮到它们操作。
The information collected from these tools allows you to understand why the locks are being held, and this in turn can help you determine strategies and techniques to avoid undesirable locking.
这些工具所收集的信息使我们可以理解为什么锁会被持有,这又可帮助我们确定避免不必要的锁定的策略和技术。
应用推荐