diff options
Diffstat (limited to 'sysdeps/htl/sem-trywait.c')
-rw-r--r-- | sysdeps/htl/sem-trywait.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sysdeps/htl/sem-trywait.c b/sysdeps/htl/sem-trywait.c index bf8cd60..6a0633b 100644 --- a/sysdeps/htl/sem-trywait.c +++ b/sysdeps/htl/sem-trywait.c @@ -24,7 +24,7 @@ int __sem_trywait (sem_t *sem) { - __pthread_spin_lock (&sem->__lock); + __pthread_spin_wait (&sem->__lock); if (sem->__value > 0) /* Successful down. */ { |