diff options
Diffstat (limited to 'sysdeps/htl/pt-barrier-wait.c')
-rw-r--r-- | sysdeps/htl/pt-barrier-wait.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sysdeps/htl/pt-barrier-wait.c b/sysdeps/htl/pt-barrier-wait.c index 146605abd8..46a36f7ca6 100644 --- a/sysdeps/htl/pt-barrier-wait.c +++ b/sysdeps/htl/pt-barrier-wait.c @@ -24,7 +24,7 @@ int pthread_barrier_wait (pthread_barrier_t *barrier) { - __pthread_spin_lock (&barrier->__lock); + __pthread_spin_wait (&barrier->__lock); if (--barrier->__pending == 0) { barrier->__pending = barrier->__count; |