diff options
author | gfleury <gfleury@disroot.org> | 2024-12-19 22:37:23 +0200 |
---|---|---|
committer | Samuel Thibault <samuel.thibault@ens-lyon.org> | 2024-12-22 23:34:27 +0100 |
commit | 3089d23517a0d93c645edd5129e08e8432fc3563 (patch) | |
tree | 4be596f258cc12c9d7b0490e8ab67c25dcc7785e /sysdeps/htl/timer_routines.c | |
parent | 917a131ab94f930ef5022f0042af95d931264b4a (diff) | |
download | glibc-3089d23517a0d93c645edd5129e08e8432fc3563.zip glibc-3089d23517a0d93c645edd5129e08e8432fc3563.tar.gz glibc-3089d23517a0d93c645edd5129e08e8432fc3563.tar.bz2 |
htl: move pthread_cond_broadcast into libc.
Signed-off-by: gfleury <gfleury@disroot.org>
Message-ID: <20241219203727.669825-5-gfleury@disroot.org>
Diffstat (limited to 'sysdeps/htl/timer_routines.c')
-rw-r--r-- | sysdeps/htl/timer_routines.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/sysdeps/htl/timer_routines.c b/sysdeps/htl/timer_routines.c index 7e2a561..1244ce8 100644 --- a/sysdeps/htl/timer_routines.c +++ b/sysdeps/htl/timer_routines.c @@ -280,7 +280,7 @@ thread_cleanup (void *val) pthread_mutex_unlock (&__timer_mutex); /* Unblock potentially blocked timer_delete(). */ - pthread_cond_broadcast (&thread->cond); + __pthread_cond_broadcast (&thread->cond); } } @@ -338,7 +338,7 @@ thread_expire_timer (struct thread_node *self, struct timer_node *timer) self->current_timer = 0; - pthread_cond_broadcast (&self->cond); + __pthread_cond_broadcast (&self->cond); } @@ -486,7 +486,7 @@ __timer_thread_start (struct thread_node *thread) void __timer_thread_wakeup (struct thread_node *thread) { - pthread_cond_broadcast (&thread->cond); + __pthread_cond_broadcast (&thread->cond); } |