[PATCH] [libcxx] Windows port of thread/mutex/chrono
David Majnemer
david.majnemer at gmail.com
Sat Oct 12 19:07:32 PDT 2013
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.
On Thu, Oct 10, 2013 at 6:38 AM, Nico Rieck <nico.rieck at gmail.com> wrote:
> This series of patches port threads including synchronization and <chrono>
> to Windows.
>
> 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.
>
> All pthreads-related code is guarded by _LIBCPP_PTHREADS which is defined
> by default (except for non-mingw Win32).
>
> -Nico
>
> _______________________________________________
> cfe-commits mailing list
> cfe-commits at cs.uiuc.edu
> http://lists.cs.uiuc.edu/mailman/listinfo/cfe-commits
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20131012/305e8a51/attachment.html>
More information about the cfe-commits
mailing list