teak-llvm/libcxx/docs/DesignDocs
Eric Fiselier 00f6beaed4 [libc++] Cleanup and document <__threading_support>
Summary:
This patch attempts to clean up the macro configuration mess in `<__threading_support>`, specifically the mess involving external threading variants. Additionally this patch adds design documentation for `<__threading_support>` and the configuration macros it uses.

The primary change in this patch is separating the idea of an "external API" provided by `<__external_threading>` and the idea of having an external threading library. Now `_LIBCPP_HAS_THREAD_API_EXTERNAL` means that libc++ should use `<__external_threading>` and that the header is expected to exist.  Additionally the new macro `_LIBCPP_HAS_THREAD_LIBRARY_EXTERNAL` is now used to configure for using an "external library"  with the default threading API.

Reviewers: compnerd, rmaprath

Subscribers: smeenai, cfe-commits, mgorny

Differential Revision: https://reviews.llvm.org/D28316

llvm-svn: 291275
2017-01-06 20:05:40 +00:00
..
ABIVersioning.rst Use __config_site when building libc++. Also cleanup ABI versioning doc 2015-10-14 00:22:05 +00:00
CapturingConfigInfo.rst
DebugMode.rst Implement a throwing version of _LIBCPP_ASSERT. 2016-12-28 04:58:52 +00:00
ThreadingSupportAPI.rst [libc++] Cleanup and document <__threading_support> 2017-01-06 20:05:40 +00:00
VisibilityMacros.rst Fix Sphinx build error caused by bad indentation 2017-01-05 00:04:37 +00:00