Add more noreturn attributes
Andreas Jaeger
aj@suse.de
Sat Apr 21 13:16:00 GMT 2001
Ulrich Drepper <drepper@redhat.com> writes:
> Andreas Jaeger <aj@suse.de> writes:
>
> > Here's a revised and working patch that I've just committed, we can't
> > remove the cleanup_pop call,
>
> Correct. But as I said, the unlock call can go.
Yep, I've committed the appended patch now.
Andreas
(thread_func): Remove mutex_unlock call since it's never executed.
============================================================
Index: linuxthreads/sysdeps/pthread/timer_routines.c
--- linuxthreads/sysdeps/pthread/timer_routines.c 2001/04/21 18:50:28 1.13
+++ linuxthreads/sysdeps/pthread/timer_routines.c 2001/04/21 20:15:48
@@ -440,7 +440,6 @@
}
/* These statements will never be executed since the while loop
loops forever - but we have to add them for proper nesting. */
- pthread_mutex_unlock (&__timer_mutex);
pthread_cleanup_pop (1);
}
--
Andreas Jaeger
SuSE Labs aj@suse.de
private aj@arthur.inka.de
http://www.suse.de/~aj
More information about the Libc-hacker
mailing list