aboutsummaryrefslogtreecommitdiff
path: root/contrib/llvm-project/libcxx/include/__thread/this_thread.h
diff options
context:
space:
mode:
Diffstat (limited to 'contrib/llvm-project/libcxx/include/__thread/this_thread.h')
-rw-r--r--contrib/llvm-project/libcxx/include/__thread/this_thread.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/contrib/llvm-project/libcxx/include/__thread/this_thread.h b/contrib/llvm-project/libcxx/include/__thread/this_thread.h
index b79065eeedae..6b79aee9531f 100644
--- a/contrib/llvm-project/libcxx/include/__thread/this_thread.h
+++ b/contrib/llvm-project/libcxx/include/__thread/this_thread.h
@@ -68,14 +68,14 @@ sleep_until(const chrono::time_point<_Clock, _Duration>& __t)
}
template <class _Duration>
-inline _LIBCPP_INLINE_VISIBILITY
+inline _LIBCPP_HIDE_FROM_ABI
void
sleep_until(const chrono::time_point<chrono::steady_clock, _Duration>& __t)
{
this_thread::sleep_for(__t - chrono::steady_clock::now());
}
-inline _LIBCPP_INLINE_VISIBILITY
+inline _LIBCPP_HIDE_FROM_ABI
void yield() _NOEXCEPT {__libcpp_thread_yield();}
} // namespace this_thread