summaryrefslogtreecommitdiffstats
path: root/libcxx/src
diff options
context:
space:
mode:
authorHoward Hinnant <hhinnant@apple.com>2012-07-21 16:32:53 +0000
committerHoward Hinnant <hhinnant@apple.com>2012-07-21 16:32:53 +0000
commit45c663db4e86dfad812c56bd364c4803ff47c160 (patch)
treeca55cebed9821bfb68c24e521b7efc93afc57d05 /libcxx/src
parent02e610ef3440301bf8f13ce43238306b6eaf7d53 (diff)
downloadbcm5719-llvm-45c663db4e86dfad812c56bd364c4803ff47c160.tar.gz
bcm5719-llvm-45c663db4e86dfad812c56bd364c4803ff47c160.zip
noexcept applied to <condition_variable>.
llvm-svn: 160605
Diffstat (limited to 'libcxx/src')
-rw-r--r--libcxx/src/condition_variable.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/libcxx/src/condition_variable.cpp b/libcxx/src/condition_variable.cpp
index b53b836bfe7..552bce3561d 100644
--- a/libcxx/src/condition_variable.cpp
+++ b/libcxx/src/condition_variable.cpp
@@ -20,13 +20,13 @@ condition_variable::~condition_variable()
}
void
-condition_variable::notify_one()
+condition_variable::notify_one() _NOEXCEPT
{
pthread_cond_signal(&__cv_);
}
void
-condition_variable::notify_all()
+condition_variable::notify_all() _NOEXCEPT
{
pthread_cond_broadcast(&__cv_);
}
OpenPOWER on IntegriCloud