update libcxx, libcxxabi, libunwind, and tsan to llvm 13 rc1
This commit is contained in:
8
lib/libcxx/src/condition_variable.cpp
vendored
8
lib/libcxx/src/condition_variable.cpp
vendored
@@ -24,19 +24,19 @@ _LIBCPP_BEGIN_NAMESPACE_STD
|
||||
// ~condition_variable is defined elsewhere.
|
||||
|
||||
void
|
||||
condition_variable::notify_one() _NOEXCEPT
|
||||
condition_variable::notify_one() noexcept
|
||||
{
|
||||
__libcpp_condvar_signal(&__cv_);
|
||||
}
|
||||
|
||||
void
|
||||
condition_variable::notify_all() _NOEXCEPT
|
||||
condition_variable::notify_all() noexcept
|
||||
{
|
||||
__libcpp_condvar_broadcast(&__cv_);
|
||||
}
|
||||
|
||||
void
|
||||
condition_variable::wait(unique_lock<mutex>& lk) _NOEXCEPT
|
||||
condition_variable::wait(unique_lock<mutex>& lk) noexcept
|
||||
{
|
||||
if (!lk.owns_lock())
|
||||
__throw_system_error(EPERM,
|
||||
@@ -48,7 +48,7 @@ condition_variable::wait(unique_lock<mutex>& lk) _NOEXCEPT
|
||||
|
||||
void
|
||||
condition_variable::__do_timed_wait(unique_lock<mutex>& lk,
|
||||
chrono::time_point<chrono::system_clock, chrono::nanoseconds> tp) _NOEXCEPT
|
||||
chrono::time_point<chrono::system_clock, chrono::nanoseconds> tp) noexcept
|
||||
{
|
||||
using namespace chrono;
|
||||
if (!lk.owns_lock())
|
||||
|
||||
Reference in New Issue
Block a user