mirror of
https://sourceware.org/git/glibc.git
synced 2024-11-26 15:00: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
|
* sysdeps/pthread/timer_routines.c (thread_func): Add noreturn
|
||||||
attribute, remove statements that will never be executed.
|
attribute, remove statements that will never be executed.
|
||||||
(thread_func): Remove mutex_unlock call since it's never 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
|
* manager.c (__pthread_manager): Add noreturn
|
||||||
attribute.
|
attribute.
|
||||||
|
@ -438,8 +438,8 @@ thread_func (void *arg)
|
|||||||
else
|
else
|
||||||
pthread_cond_wait (&self->cond, &__timer_mutex);
|
pthread_cond_wait (&self->cond, &__timer_mutex);
|
||||||
}
|
}
|
||||||
/* These statements will never be executed since the while loop
|
/* This macro will never be executed since the while loop loops
|
||||||
loops forever - but we have to add them for proper nesting. */
|
forever - but we have to add it for proper nesting. */
|
||||||
pthread_cleanup_pop (1);
|
pthread_cleanup_pop (1);
|
||||||
|
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user