1
0
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:
gfleury
2024-12-19 22:37:23 +02:00
committed by Samuel Thibault
parent 917a131ab9
commit 3089d23517
11 changed files with 14 additions and 13 deletions

View File

@@ -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);
}