<div dir="ltr">Can we have a better name than 'futex' for these?  Futex is a Linux kernel synchronization primitive and it's a bit confusing that you used the name here in this context.</div><div class="gmail_extra">
<br><br><div class="gmail_quote">On Thu, Oct 10, 2013 at 6:38 AM, Nico Rieck <span dir="ltr"><<a href="mailto:nico.rieck@gmail.com" target="_blank">nico.rieck@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
This series of patches port threads including synchronization and <chrono> to Windows.<br>
<br>
The implementation deliberately avoids including Windows.h in any libc++ header. There are still incompatibilities if a Windows SDK header is included before a libc++ header because older Microsoft SAL annotations define macros for __null, __out and __deallocate. Maybe the best way to fix this would be to use #pragma push_macro/pop_macro around all libc++ headers.<br>

<br>
All pthreads-related code is guarded by _LIBCPP_PTHREADS which is defined by default (except for non-mingw Win32).<span class="HOEnZb"><font color="#888888"><br>
<br>
-Nico<br>
</font></span><br>_______________________________________________<br>
cfe-commits mailing list<br>
<a href="mailto:cfe-commits@cs.uiuc.edu">cfe-commits@cs.uiuc.edu</a><br>
<a href="http://lists.cs.uiuc.edu/mailman/listinfo/cfe-commits" target="_blank">http://lists.cs.uiuc.edu/mailman/listinfo/cfe-commits</a><br>
<br></blockquote></div><br></div>