(thread_func): Remove mutex_unlock call since it's never executed.
* 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.
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;
- */
}