[PATCH] D20328: [libcxx] Externally threaded libc++ variant
Asiri Rathnayake via cfe-commits
cfe-commits at lists.llvm.org
Tue May 17 06:34:59 PDT 2016
rmaprath created this revision.
rmaprath added reviewers: mclow.lists, EricWF, bcraig.
rmaprath added a subscriber: cfe-commits.
This patch builds on the work done under D19412 where all `pthread` dependencies were refactored under a separate thread-support API.
The current patch enables building a new variant of libc++ where all the threading dependencies are exported into a runtime API. This allows platform vendors to re-target these threading calls in a platform-defined manner (at runtime), paving the way for libc++ on non-pthread platforms.
For running the libc++ test suite, I've introduced a sample implementation of this external-thread-API using pthreads. This implementation should give an idea of what the end goal is.
This patch supersedes the sketch presented in D19415.
-------------- next part --------------
A non-text attachment was scrubbed...
Size: 27536 bytes
Desc: not available
More information about the cfe-commits