(thread_func): Remove mutex_unlock call since it's never executed.
authoraj <aj>
Sat, 21 Apr 2001 20:17:25 +0000 (20:17 +0000)
committeraj <aj>
Sat, 21 Apr 2001 20:17:25 +0000 (20:17 +0000)
linuxthreads/ChangeLog
linuxthreads/sysdeps/pthread/timer_routines.c

index a43d4ac..85320d3 100644 (file)
@@ -2,6 +2,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.
 
        * manager.c (__pthread_manager): Add noreturn
        attribute.
index bbea1db..e2b2be8 100644 (file)
@@ -440,7 +440,6 @@ thread_func (void *arg)
     }
   /* 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);
 
 }