[libcxx] r293167 - Fix chromium build (libcxx)
Asiri Rathnayake via cfe-commits
cfe-commits at lists.llvm.org
Thu Jan 26 02:40:17 PST 2017
Author: asiri
Date: Thu Jan 26 04:40:17 2017
New Revision: 293167
URL: http://llvm.org/viewvc/llvm-project?rev=293167&view=rev
Log:
Fix chromium build (libcxx)
Remove the reference to pthread_mach_thread_np() in libcxx headers.
Modified:
libcxx/trunk/include/__threading_support
Modified: libcxx/trunk/include/__threading_support
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/include/__threading_support?rev=293167&r1=293166&r2=293167&view=diff
==============================================================================
--- libcxx/trunk/include/__threading_support (original)
+++ libcxx/trunk/include/__threading_support Thu Jan 26 04:40:17 2017
@@ -149,11 +149,6 @@ int __libcpp_execute_once(__libcpp_exec_
void (*init_routine)(void));
// Thread id
-#if defined(__APPLE__) && !defined(__arm__)
-_LIBCPP_THREAD_ABI_VISIBILITY
-mach_port_t __libcpp_thread_get_port();
-#endif
-
_LIBCPP_THREAD_ABI_VISIBILITY
bool __libcpp_thread_id_equal(__libcpp_thread_id t1, __libcpp_thread_id t2);
@@ -297,12 +292,6 @@ int __libcpp_execute_once(__libcpp_exec_
}
// Thread id
-#if defined(__APPLE__) && !defined(__arm__)
-mach_port_t __libcpp_thread_get_port() {
- return pthread_mach_thread_np(pthread_self());
-}
-#endif
-
// Returns non-zero if the thread ids are equal, otherwise 0
bool __libcpp_thread_id_equal(__libcpp_thread_id t1, __libcpp_thread_id t2)
{
More information about the cfe-commits
mailing list