<div dir="ltr"><div class="gmail_extra"><br><div class="gmail_quote">On Fri, Jun 6, 2014 at 6:09 PM, Zachary Turner <span dir="ltr"><<a href="mailto:zturner@google.com" target="_blank">zturner@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 class="">On Fri, Jun 6, 2014 at 6:06 PM, Chandler Carruth <span dir="ltr"><<a href="mailto:chandlerc@gmail.com" target="_blank">chandlerc@gmail.com</a>></span> wrote:<br>

<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div><div>Backing up a second, and setting aside all aspects of windows.h, I think<br>
this patch is going in the wrong direction at a very fundamental level.<br>
<br>
I think it is a really huge mistake for LLVM to continue to use its own<br>
Mutex class. I don't think you should change it, I think you should remove<br>
it, and use std::mutex. I understand that this may be hard, but I think<br>
time would be better spent working on those hard problems. I see a few<br>
elements that you'll need to address:<br></div></div></blockquote><div><br></div></div><div>Actually this is fine with me.  This is the approach I wanted to take originally, but I felt the current approach would be less controversial since the semantics remained identical.  If there is enough consensus surrounding this approach, I will re-evaluate my strategy.</div>
</blockquote></div><br>Don't take my email to mean consensus. =D The point of the approach I suggest is that I think it will allow the right discussions to take place for consensus to form. We may still end up with something clever in LLVM if there are really important use cases that can't be solved with anything else, but I'm holding out hope this isn't the case.</div>
</div>