aboutsummaryrefslogtreecommitdiff
path: root/linuxthreads/sysdeps
diff options
context:
space:
mode:
authorAndreas Jaeger <aj@suse.de>2001-04-21 20:17:26 +0000
committerAndreas Jaeger <aj@suse.de>2001-04-21 20:17:26 +0000
commitd8a60a157760bd2170fd8980bc9621c726797373 (patch)
treec337ed559d125cbdc2de69e22f01350d3c488d02 /linuxthreads/sysdeps
parent36c96ccd8708e49c6083dfc52412610e89613abf (diff)
downloadglibc-d8a60a157760bd2170fd8980bc9621c726797373.zip
glibc-d8a60a157760bd2170fd8980bc9621c726797373.tar.gz
glibc-d8a60a157760bd2170fd8980bc9621c726797373.tar.bz2
(thread_func): Remove mutex_unlock call since it's never executed.
(thread_func): Remove mutex_unlock call since it's never executed.
Diffstat (limited to 'linuxthreads/sysdeps')
-rw-r--r--linuxthreads/sysdeps/pthread/timer_routines.c5
1 files changed, 1 insertions, 4 deletions
diff --git a/linuxthreads/sysdeps/pthread/timer_routines.c b/linuxthreads/sysdeps/pthread/timer_routines.c
index 71bc6dd..e2b2be8 100644
--- a/linuxthreads/sysdeps/pthread/timer_routines.c
+++ b/linuxthreads/sysdeps/pthread/timer_routines.c
@@ -439,12 +439,9 @@ thread_func (void *arg)
pthread_cond_wait (&self->cond, &__timer_mutex);
}
/* These statements will never be executed since the while loop
- loops forever:
- pthread_mutex_unlock (&__timer_mutex);
+ loops forever - but we have to add them for proper nesting. */
pthread_cleanup_pop (1);
- return NULL;
- */
}