llvm-project/libcxx
Ben Craig b9599b1b23 [libcxx] Allow explicit pthread opt-in
The existing pthread detection code in __config is pretty good for
common operating systems. It doesn't allow cmake-time choices to be
made for uncommon operating systems though.

This change adds the LIBCXX_HAS_PTHREAD_API cmake flag, which turns
into the _LIBCPP_HAS_THREAD_API_PTHREAD preprocessor define. This is
a name change from the old _LIBCPP_THREAD_API_PTHREAD. The lit tests
want __config_site.in variables to have a _LIBCPP_HAS prefix.

http://reviews.llvm.org/D20573

llvm-svn: 270735
2016-05-25 17:40:09 +00:00
..
cmake [libcxx] Prefer C++14 over C++11 when building libc++experimental. 2016-05-10 16:17:43 +00:00
docs Fix errors in documentation 2016-05-06 04:49:30 +00:00
include [libcxx] Allow explicit pthread opt-in 2016-05-25 17:40:09 +00:00
lib [libcxx] Prefer C++14 over C++11 when building libc++experimental. 2016-05-10 16:17:43 +00:00
src Fix memory_resource build for _LIBCPP_HAS_NO_THREADS 2016-05-07 05:37:31 +00:00
test Test hijacking ADL for operator& in the stream iterator constructors. 2016-05-17 21:01:20 +00:00
utils Add more missing license headers 2016-01-19 21:58:49 +00:00
www Mark LWG2583 as complete. I did this a while ago, and forgot to update the table. 2016-05-18 19:31:01 +00:00
.arcconfig Update Arcanist config to point to reviews.llvm.org 2014-06-10 18:29:36 +00:00
.gitignore [libc++] Refactor test components into modules. 2015-01-09 18:03:29 +00:00
CMakeLists.txt [libcxx] Allow explicit pthread opt-in 2016-05-25 17:40:09 +00:00
CREDITS.TXT Add self to CREDITS.txt 2015-02-26 00:48:22 +00:00
LICENSE.TXT Update copyright year to 2016. 2016-03-30 22:39:53 +00:00
TODO.TXT Test commit to see if libcxx.llvm.org/docs builds 2015-09-04 22:57:00 +00:00