about summary refs log tree commit diff
path: root/sysdeps/htl/sem-post.c
diff options
context:
space:
mode:
Diffstat (limited to 'sysdeps/htl/sem-post.c')
-rw-r--r--sysdeps/htl/sem-post.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sysdeps/htl/sem-post.c b/sysdeps/htl/sem-post.c
index 2e0be8fc49..fd0c6338c6 100644
--- a/sysdeps/htl/sem-post.c
+++ b/sysdeps/htl/sem-post.c
@@ -26,7 +26,7 @@ __sem_post (sem_t *sem)
 {
   struct __pthread *wakeup;
 
-  __pthread_spin_lock (&sem->__lock);
+  __pthread_spin_wait (&sem->__lock);
   if (sem->__value > 0)
     /* Do a quick up.  */
     {