summaryrefslogtreecommitdiffstats
path: root/libcxx/src
diff options
context:
space:
mode:
Diffstat (limited to 'libcxx/src')
-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