[PATCH] [Updated, 223 lines] D24864: [libcxxabi] Refactor pthread usage into a separate API
Asiri Rathnayake via cfe-commits
cfe-commits at lists.llvm.org
Fri Sep 30 04:24:44 PDT 2016
rmaprath updated this revision to Diff 73033.
rmaprath added a comment.
`pthread_mach_thread_np` is Mac specific. I've introduced a Mac-only `__libcxxabi_thread_get_port()` API call to sort this out (didn't think it would be nice to leave a pthread call even if it is Mac specific).
I can revisit this if there is a better approach. Will commit now.
https://reviews.llvm.org/D24864
Files:
CMakeLists.txt
src/config.h
src/cxa_exception.cpp
src/cxa_exception_storage.cpp
src/cxa_guard.cpp
src/fallback_malloc.ipp
src/threading_support.h
test/test_exception_storage.pass.cpp
test/test_fallback_malloc.pass.cpp
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D24864.73033.patch
Type: text/x-patch
Size: 15576 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20160930/afd5c66f/attachment.bin>
More information about the cfe-commits
mailing list