summaryrefslogtreecommitdiffstats
path: root/9/sources/cxx-stl/llvm-libc++/libcxx/include/mutex
diff options
context:
space:
mode:
authorAndrew Hsieh <andrewhsieh@google.com>2015-01-08 19:54:04 +0800
committerAndrew Hsieh <andrewhsieh@google.com>2015-01-09 11:10:24 +0800
commit45b1d17d3c24e23b0955928e62881e6fd0f7b8c5 (patch)
tree9bcebab2edecf9266c332587fdd56fac8b3836c0 /9/sources/cxx-stl/llvm-libc++/libcxx/include/mutex
parent8226f95d450857358fd08319a906c83739bd5035 (diff)
downloadprebuilts_ndk-45b1d17d3c24e23b0955928e62881e6fd0f7b8c5.zip
prebuilts_ndk-45b1d17d3c24e23b0955928e62881e6fd0f7b8c5.tar.gz
prebuilts_ndk-45b1d17d3c24e23b0955928e62881e6fd0f7b8c5.tar.bz2
Update llvm-libc++
NDK r10d Change-Id: Ibb4c6a25904ab353d6f976f45ea35179c604287f
Diffstat (limited to '9/sources/cxx-stl/llvm-libc++/libcxx/include/mutex')
-rw-r--r--9/sources/cxx-stl/llvm-libc++/libcxx/include/mutex4
1 files changed, 4 insertions, 0 deletions
diff --git a/9/sources/cxx-stl/llvm-libc++/libcxx/include/mutex b/9/sources/cxx-stl/llvm-libc++/libcxx/include/mutex
index e0c02ad..b7a6709 100644
--- a/9/sources/cxx-stl/llvm-libc++/libcxx/include/mutex
+++ b/9/sources/cxx-stl/llvm-libc++/libcxx/include/mutex
@@ -187,6 +187,8 @@ template<class Callable, class ...Args>
_LIBCPP_BEGIN_NAMESPACE_STD
+#if !_LIBCPP_SINGLE_THREADED
+
class _LIBCPP_TYPE_VIS recursive_mutex
{
pthread_mutex_t __m_;
@@ -425,6 +427,8 @@ lock(_L0& __l0, _L1& __l1, _L2& __l2, _L3& ...__l3)
#endif // _LIBCPP_HAS_NO_VARIADICS
+#endif // !_LIBCPP_SINGLE_THREADED
+
struct _LIBCPP_TYPE_VIS once_flag;
#ifndef _LIBCPP_HAS_NO_VARIADICS