From f646be6ff6e4f21e68e579904362d0d110fb3f84 Mon Sep 17 00:00:00 2001 From: gfleury Date: Thu, 19 Dec 2024 22:37:27 +0200 Subject: htl: move pthread_cond_timedwait, pthread_cond_clockwait, pthread_cond_wait into libc. Message-ID: <20241219203727.669825-9-gfleury@disroot.org> --- sysdeps/htl/timer_routines.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'sysdeps/htl/timer_routines.c') diff --git a/sysdeps/htl/timer_routines.c b/sysdeps/htl/timer_routines.c index 1244ce8..4117545 100644 --- a/sysdeps/htl/timer_routines.c +++ b/sysdeps/htl/timer_routines.c @@ -418,10 +418,10 @@ thread_func (void *arg) head of the queue must wake up the thread by broadcasting this condition variable. */ if (timer != NULL) - pthread_cond_timedwait (&self->cond, &__timer_mutex, + __pthread_cond_timedwait (&self->cond, &__timer_mutex, &timer->expirytime); else - pthread_cond_wait (&self->cond, &__timer_mutex); + __pthread_cond_wait (&self->cond, &__timer_mutex); } /* This macro will never be executed since the while loop loops forever - but we have to add it for proper nesting. */ -- cgit v1.1