[PATCH] D11781: Refactored pthread usage in libcxx
Jonathan Roelofs via cfe-commits
cfe-commits at lists.llvm.org
Mon Aug 10 07:58:57 PDT 2015
On 8/8/15 2:23 PM, Fulvio Esposito wrote:
> espositofulvio added inline comments.
> ================ Comment at: include/__config:742 @@ +741,3 @@
> +#ifndef _LIBCPP_HAS_NO_THREADS +# if defined(__FreeBSD__) ||
> defined(__NetBSD__) || defined(__linux__) || defined(__APPLE__) +#
> define _LIBCPP_THREAD_API _LIBCPP_PTHREAD ---------------- theraven
>> #ifdef unix will catch most of these (for some reason, not OS X,
>> even though it's the only one that actually is certified as
> I didn't know that and I'm not sure I've included all the supported
> platforms (in include/__config there are definitions for __ sun __
> and __ CloudABI __ which I know very little about). Is there
> somewhere a list of supported platforms?
Ed should be able to tell you the right thing to do with __CloudABI__,
and Christopher should be able to help you with the __sun__ stuff.
> Repository: rL LLVM
jonathan at codesourcery.com
CodeSourcery / Mentor Embedded
More information about the cfe-commits