summaryrefslogtreecommitdiffstats
path: root/libcxx/src/mutex.cpp
diff options
context:
space:
mode:
authorHoward Hinnant <hhinnant@apple.com>2010-06-03 16:42:57 +0000
committerHoward Hinnant <hhinnant@apple.com>2010-06-03 16:42:57 +0000
commitd1803b6c87d867bc94baf6a8a46054a3e81904d0 (patch)
treee3d148967311ecc133be674a144f21bc356bde55 /libcxx/src/mutex.cpp
parentb4bb6dc44d5ae4372f58b35b6707f30895aadce9 (diff)
downloadbcm5719-llvm-d1803b6c87d867bc94baf6a8a46054a3e81904d0.tar.gz
bcm5719-llvm-d1803b6c87d867bc94baf6a8a46054a3e81904d0.zip
[util.smartptr.hash]
llvm-svn: 105393
Diffstat (limited to 'libcxx/src/mutex.cpp')
-rw-r--r--libcxx/src/mutex.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/libcxx/src/mutex.cpp b/libcxx/src/mutex.cpp
index 7ea734968a5..1f8160d0a58 100644
--- a/libcxx/src/mutex.cpp
+++ b/libcxx/src/mutex.cpp
@@ -235,7 +235,7 @@ __call_once(volatile unsigned long& flag, void* arg, void(*func)(void*))
pthread_mutex_lock(&mut);
flag = 0ul;
pthread_mutex_unlock(&mut);
- pthread_cond_signal(&cv);
+ pthread_cond_broadcast(&cv);
throw;
}
}
OpenPOWER on IntegriCloud