[libcxx-commits] [PATCH] D72862: [libcxx] Temporarily switch back to pthread backend for Fuchsia

Petr Hosek via Phabricator via libcxx-commits libcxx-commits at lists.llvm.org
Thu Jan 16 14:54:15 PST 2020


This revision was automatically updated to reflect the committed changes.
Closed by commit rG9050d0fb593c: [libcxx] Temporarily switch back to pthread backend for Fuchsia (authored by phosek).

Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D72862/new/

https://reviews.llvm.org/D72862

Files:
  libcxx/include/__config


Index: libcxx/include/__config
===================================================================
--- libcxx/include/__config
+++ libcxx/include/__config
@@ -1125,7 +1125,8 @@
       (defined(__MINGW32__) && __has_include(<pthread.h>))
 #    define _LIBCPP_HAS_THREAD_API_PTHREAD
 #  elif defined(__Fuchsia__)
-#    define _LIBCPP_HAS_THREAD_API_C11
+     // TODO(44575): Switch to C11 thread API when possible.
+#    define _LIBCPP_HAS_THREAD_API_PTHREAD
 #  elif defined(_LIBCPP_WIN32API)
 #    define _LIBCPP_HAS_THREAD_API_WIN32
 #  else


-------------- next part --------------
A non-text attachment was scrubbed...
Name: D72862.238633.patch
Type: text/x-patch
Size: 543 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/libcxx-commits/attachments/20200116/e35fce45/attachment-0001.bin>


More information about the libcxx-commits mailing list