Valgrind的挂在pthread_spin_lock消耗100%的CPU [英] Valgrind hangs in pthread_spin_lock consuming 100% CPU
本文介绍了Valgrind的挂在pthread_spin_lock消耗100%的CPU的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
我的C ++多线程应用程序挂在pthread_spin_lock在Valgrind的版本3.8.0和时尚。但它不是在3.6.0,3.6.1和3.7.0发生。任何人都知道任何解决方法吗?
My C++ multi threaded application hangs in pthread_spin_lock in valgrind versions 3.8.0 and latest. But it is not happening in 3.6.0, 3.6.1 and 3.7.0. Anyone knows any workaround for this?
推荐答案
这是导致线程的valgrind管理的内部问题。我有同样的问题,它是固定在3.10版本的valgrind的。
This is cause the internal problems of thread managing in valgrind. I had same problem and it was fixed in 3.10 version of valgrind.
这篇关于Valgrind的挂在pthread_spin_lock消耗100%的CPU的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文