about summary refs log tree commit diff
diff options
context:
space:
mode:
authorSamuel Thibault <samuel.thibault@ens-lyon.org>2020-06-01 22:21:08 +0200
committerSamuel Thibault <samuel.thibault@ens-lyon.org>2020-06-01 22:22:03 +0200
commit8c64cc78bcce284b985d26a1393bdfcedcb1d128 (patch)
tree73adf0824d1461ec09a6bca03c23623a17049d08
parent8081702460726304af496be52234385094392a6f (diff)
downloadglibc-8c64cc78bcce284b985d26a1393bdfcedcb1d128.tar.gz
glibc-8c64cc78bcce284b985d26a1393bdfcedcb1d128.tar.xz
glibc-8c64cc78bcce284b985d26a1393bdfcedcb1d128.zip
htl: Fix gsync_wait symbol exposition
* sysdeps/htl/pt-cond-destroy.c (__pthread_cond_destroy): Call
__gsync_wait instead of gsync_wait.
-rw-r--r--sysdeps/htl/pt-cond-destroy.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sysdeps/htl/pt-cond-destroy.c b/sysdeps/htl/pt-cond-destroy.c
index 722516a8e2..3fc1b42594 100644
--- a/sysdeps/htl/pt-cond-destroy.c
+++ b/sysdeps/htl/pt-cond-destroy.c
@@ -35,7 +35,7 @@ __pthread_cond_destroy (pthread_cond_t *cond)
 
   while (wrefs >> 1 != 0)
     {
-      gsync_wait (__mach_task_self (), (vm_offset_t) &cond->__wrefs, wrefs,
+      __gsync_wait (__mach_task_self (), (vm_offset_t) &cond->__wrefs, wrefs,
 		  0, 0, 0);
       wrefs = atomic_load_acquire (&cond->__wrefs);
     }