mirror of
https://sourceware.org/git/glibc.git
synced 2025-08-08 17:42:12 +03:00
htl: move pthread_cond_timedwait, pthread_cond_clockwait, pthread_cond_wait into libc.
Message-ID: <20241219203727.669825-9-gfleury@disroot.org>
This commit is contained in:
@@ -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. */
|
||||
|
Reference in New Issue
Block a user