<div dir="ltr"><div class="gmail_extra"><div class="gmail_quote">On Fri, Jun 6, 2014 at 10:46 AM, Reid Kleckner <span dir="ltr"><<a href="mailto:rnk@google.com" target="_blank">rnk@google.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div dir="ltr"><div class="gmail_extra"><div class="gmail_quote"><div class="">IMO the "debug" mutexes are really an attempt to optimize LLVM in single-threaded mode (i.e. when using clang as a compiler).  They only maintain 'acquired' so that a single-threaded run of the LLVM test suite reveals any deadlocks that might appear in multi-threaded mode.  We should do some svn archaeology to see if this mt_only mode is worth maintaining.<br>
</div>
</div></div></div>
</blockquote></div><br></div><div class="gmail_extra">Definitely not opposed to getting rid of it if it's not useful.  For example, something like TSAN could be used to detect races instead.</div></div>