mirror of
https://sourceware.org/git/glibc.git
synced 2025-08-08 17:42:12 +03:00
htl: move pthread_cond_broadcast into libc.
Signed-off-by: gfleury <gfleury@disroot.org> Message-ID: <20241219203727.669825-5-gfleury@disroot.org>
This commit is contained in:
@@ -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);
|
||||
}
|
||||
|
||||
|
||||
|
Reference in New Issue
Block a user