(thread_func): Fix comment as suggested by Jakub Jelinek.

(thread_func): Fix comment as suggested by Jakub Jelinek.
This commit is contained in:
Andreas Jaeger 2001-04-21 20:42:42 +00:00
parent d8a60a1577
commit d6f8608514
2 changed files with 3 additions and 2 deletions

View File

@ -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.

View File

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