This is the mail archive of the libc-hacker@sources.redhat.com mailing list for the glibc project.

Note that libc-hacker is a closed list. You may look at the archives of this list, but subscription and posting are not open.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: Add more noreturn attributes


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]