Debug boost::thread application, high false positive rate

隐身守侯 提交于 2019-12-01 05:47:52

From DRD manual

An important advantage of happens-before data race detectors is that these do not report any false positives. DRD is based on the happens-before algorithm.

So DRD does not have any false positive if the implementation uses just POSIX threads and not non-POSIX stuff like Linux's futex.

Therefore, if DRD reports a false positive, on a race-free program like yours, it has a bug. It is not supposed to have false positives.

However, I could not reproduce the errors you reported, on my machine (Archlinux/ gcc 4.6.2 / valgrind 3.6.1 / boost 1.47).

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!