<div dir="ltr">More info if you are curious: <div><a href="https://groups.google.com/forum/#!topic/thread-sanitizer/KIok3F_b1oI">https://groups.google.com/forum/#!topic/thread-sanitizer/KIok3F_b1oI</a><br></div></div><div class="gmail_extra">
<br><br><div class="gmail_quote">On Wed, May 28, 2014 at 7:26 PM, Dmitry Vyukov <span dir="ltr"><<a href="mailto:dvyukov@google.com" target="_blank">dvyukov@google.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
The tests test that ThreadSanitizer finds the data race in particular conditions. However, ThreadSanitizer core algorithm can miss a data race when the racy memory access attempts happen very close to each other (literally simultaneously). This was done intentionally, fixing this would impose significant slowdown and this is not a problem for programs other than unit tests.<br>

So the unit tests suffer from this aspect.<br>
<br>
<a href="http://reviews.llvm.org/D3913" target="_blank">http://reviews.llvm.org/D3913</a><br>
<br>
<br>
</blockquote></div><br></div>