Lines Matching refs:self
290 thread_expire_timer (struct thread_node *self, struct timer_node *timer) in thread_expire_timer() argument
292 self->current_timer = timer; /* Lets timer_delete know timer is running. */ in thread_expire_timer()
320 if (pthread_kill (self->captured, timer->event.sigev_signo) != 0) in thread_expire_timer()
322 if (pthread_kill (self->id, timer->event.sigev_signo) != 0) in thread_expire_timer()
339 self->current_timer = 0; in thread_expire_timer()
341 pthread_cond_broadcast (&self->cond); in thread_expire_timer()
353 struct thread_node *self = arg; in thread_func() local
359 pthread_cleanup_push (thread_cleanup, self); in thread_func()
369 first = list_first (&self->timer_queue); in thread_func()
370 if (first != list_null (&self->timer_queue)) in thread_func()
403 __timer_thread_queue_timer (self, timer); in thread_func()
406 thread_expire_timer (self, timer); in thread_func()
408 first = list_first (&self->timer_queue); in thread_func()
409 if (first == list_null (&self->timer_queue)) in thread_func()
421 pthread_cond_timedwait (&self->cond, &__timer_mutex, in thread_func()
424 pthread_cond_wait (&self->cond, &__timer_mutex); in thread_func()