mirror of
https://sourceware.org/git/glibc.git
synced 2024-11-10 07:10:06 +00:00
(thread_func): Fix comment as suggested by Jakub Jelinek.
(thread_func): Fix comment as suggested by Jakub Jelinek.
This commit is contained in:
parent
d8a60a1577
commit
d6f8608514
@ -3,6 +3,7 @@
|
||||
* sysdeps/pthread/timer_routines.c (thread_func): Add noreturn
|
||||
attribute, remove statements that will never be executed.
|
||||
(thread_func): Remove mutex_unlock call since it's never executed.
|
||||
(thread_func): Fix comment as suggested by Jakub Jelinek.
|
||||
|
||||
* manager.c (__pthread_manager): Add noreturn
|
||||
attribute.
|
||||
|
@ -438,8 +438,8 @@ thread_func (void *arg)
|
||||
else
|
||||
pthread_cond_wait (&self->cond, &__timer_mutex);
|
||||
}
|
||||
/* These statements will never be executed since the while loop
|
||||
loops forever - but we have to add them for proper nesting. */
|
||||
/* This macro will never be executed since the while loop loops
|
||||
forever - but we have to add it for proper nesting. */
|
||||
pthread_cleanup_pop (1);
|
||||
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user