summaryrefslogtreecommitdiffstats
path: root/include/mutex
diff options
context:
space:
mode:
authorHoward Hinnant <hhinnant@apple.com>2013-03-06 23:30:19 +0000
committerHoward Hinnant <hhinnant@apple.com>2013-03-06 23:30:19 +0000
commit83eade6abb414e0e814977921bcb6e46853cae03 (patch)
tree9d3e84d49bf6e3fa531a98fc9ac6e5f63102e574 /include/mutex
parentcc7bdae931f9b3c4b67b9d1278ddd387810eecd3 (diff)
downloadexternal_libcxx-83eade6abb414e0e814977921bcb6e46853cae03.tar.gz
external_libcxx-83eade6abb414e0e814977921bcb6e46853cae03.tar.bz2
external_libcxx-83eade6abb414e0e814977921bcb6e46853cae03.zip
No functionality change at this time. I've split _LIBCPP_VISIBLE up into two flags: _LIBCPP_TYPE_VIS and _LIBCPP_FUNC_VIS. This is in preparation for taking advantage of clang's new __type_visibility__ attribute.
git-svn-id: https://llvm.org/svn/llvm-project/libcxx/trunk@176593 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'include/mutex')
-rw-r--r--include/mutex10
1 files changed, 5 insertions, 5 deletions
diff --git a/include/mutex b/include/mutex
index ee20f021e..e2b5d6bfd 100644
--- a/include/mutex
+++ b/include/mutex
@@ -187,7 +187,7 @@ template<class Callable, class ...Args>
_LIBCPP_BEGIN_NAMESPACE_STD
-class _LIBCPP_VISIBLE recursive_mutex
+class _LIBCPP_TYPE_VIS recursive_mutex
{
pthread_mutex_t __m_;
@@ -209,7 +209,7 @@ public:
native_handle_type native_handle() {return &__m_;}
};
-class _LIBCPP_VISIBLE timed_mutex
+class _LIBCPP_TYPE_VIS timed_mutex
{
mutex __m_;
condition_variable __cv_;
@@ -251,7 +251,7 @@ timed_mutex::try_lock_until(const chrono::time_point<_Clock, _Duration>& __t)
return false;
}
-class _LIBCPP_VISIBLE recursive_timed_mutex
+class _LIBCPP_TYPE_VIS recursive_timed_mutex
{
mutex __m_;
condition_variable __cv_;
@@ -425,7 +425,7 @@ lock(_L0& __l0, _L1& __l1, _L2& __l2, _L3& ...__l3)
#endif // _LIBCPP_HAS_NO_VARIADICS
-struct _LIBCPP_VISIBLE once_flag;
+struct _LIBCPP_TYPE_VIS once_flag;
#ifndef _LIBCPP_HAS_NO_VARIADICS
@@ -441,7 +441,7 @@ void call_once(once_flag&, _Callable);
#endif // _LIBCPP_HAS_NO_VARIADICS
-struct _LIBCPP_VISIBLE once_flag
+struct _LIBCPP_TYPE_VIS once_flag
{
_LIBCPP_INLINE_VISIBILITY
_LIBCPP_CONSTEXPR