diff options
Diffstat (limited to 'libcxx/src/mutex.cpp')
-rw-r--r-- | libcxx/src/mutex.cpp | 2 |
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; } } |