aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndreas Jaeger <aj@suse.de>2001-04-21 20:42:42 +0000
committerAndreas Jaeger <aj@suse.de>2001-04-21 20:42:42 +0000
commitd6f86085146dd972f46784defd5eefcf923ec696 (patch)
treeba04fe2e2c262b62470231e4bfa5223d2a287fef
parentd8a60a157760bd2170fd8980bc9621c726797373 (diff)
downloadglibc-d6f86085146dd972f46784defd5eefcf923ec696.tar
glibc-d6f86085146dd972f46784defd5eefcf923ec696.tar.gz
glibc-d6f86085146dd972f46784defd5eefcf923ec696.tar.bz2
glibc-d6f86085146dd972f46784defd5eefcf923ec696.zip
(thread_func): Fix comment as suggested by Jakub Jelinek.
(thread_func): Fix comment as suggested by Jakub Jelinek.
-rw-r--r--linuxthreads/ChangeLog1
-rw-r--r--linuxthreads/sysdeps/pthread/timer_routines.c4
2 files changed, 3 insertions, 2 deletions
diff --git a/linuxthreads/ChangeLog b/linuxthreads/ChangeLog
index 85320d31ef..4596333bed 100644
--- a/linuxthreads/ChangeLog
+++ b/linuxthreads/ChangeLog
@@ -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.
diff --git a/linuxthreads/sysdeps/pthread/timer_routines.c b/linuxthreads/sysdeps/pthread/timer_routines.c
index e2b2be8b0d..85d626b0f4 100644
--- a/linuxthreads/sysdeps/pthread/timer_routines.c
+++ b/linuxthreads/sysdeps/pthread/timer_routines.c
@@ -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);
}