From 8c64cc78bcce284b985d26a1393bdfcedcb1d128 Mon Sep 17 00:00:00 2001 From: Samuel Thibault Date: Mon, 1 Jun 2020 22:21:08 +0200 Subject: htl: Fix gsync_wait symbol exposition * sysdeps/htl/pt-cond-destroy.c (__pthread_cond_destroy): Call __gsync_wait instead of gsync_wait. --- sysdeps/htl/pt-cond-destroy.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'sysdeps/htl/pt-cond-destroy.c') 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); } -- cgit 1.4.1