Lines Matching refs:self
565 thread_t self = current_thread();
566 int wait_result = self->wait_result;
567 void (*caller_cont)(kern_return_t) = self->sth_continuation;
569 assert(self->sth_waitsemaphore != SEMAPHORE_NULL);
570 semaphore_dereference(self->sth_waitsemaphore);
571 if (self->sth_signalsemaphore != SEMAPHORE_NULL)
572 semaphore_dereference(self->sth_signalsemaphore);
620 thread_t self = current_thread();
623 thread_lock(self);
640 self);
641 thread_unlock(self);
678 thread_t self = current_thread();
680 clear_wait(self, THREAD_INTERRUPTED);
681 kr = semaphore_convert_wait_result(self->wait_result);
702 thread_t self = current_thread();
704 self->sth_continuation = caller_cont;
705 self->sth_waitsemaphore = wait_semaphore;
706 self->sth_signalsemaphore = signal_semaphore;