htl: Fix gsync_wait symbol exposition

* sysdeps/htl/pt-cond-destroy.c (__pthread_cond_destroy): Call
__gsync_wait instead of gsync_wait.
This commit is contained in:
Samuel Thibault 2020-06-01 22:21:08 +02:00
parent 8081702460
commit 8c64cc78bc
1 changed files with 1 additions and 1 deletions

View File

@ -35,7 +35,7 @@ __pthread_cond_destroy (pthread_cond_t *cond)
while (wrefs >> 1 != 0) 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); 0, 0, 0);
wrefs = atomic_load_acquire (&cond->__wrefs); wrefs = atomic_load_acquire (&cond->__wrefs);
} }