about summary refs log tree commit diff
path: root/sysdeps/htl/pt-cond-signal.c
diff options
context:
space:
mode:
Diffstat (limited to 'sysdeps/htl/pt-cond-signal.c')
-rw-r--r--sysdeps/htl/pt-cond-signal.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sysdeps/htl/pt-cond-signal.c b/sysdeps/htl/pt-cond-signal.c
index bbf23011e3..30f21cc6b5 100644
--- a/sysdeps/htl/pt-cond-signal.c
+++ b/sysdeps/htl/pt-cond-signal.c
@@ -27,7 +27,7 @@ __pthread_cond_signal (pthread_cond_t *cond)
 {
   struct __pthread *wakeup;
 
-  __pthread_spin_lock (&cond->__lock);
+  __pthread_spin_wait (&cond->__lock);
   wakeup = cond->__queue;
   if (wakeup != NULL)
     __pthread_dequeue (wakeup);