Searched refs:kernel_thread (Results 1 – 11 of 11) sorted by relevance
33 thread_t kernel_thread, self_ktid; in __pthread_thread_terminate() local40 kernel_thread = thread->kernel_thread; in __pthread_thread_terminate()57 self = self_ktid == kernel_thread; in __pthread_thread_terminate()61 thread->kernel_thread = MACH_PORT_DEAD; in __pthread_thread_terminate()83 err = __thread_terminate_release (kernel_thread, mach_task_self (), in __pthread_thread_terminate()84 kernel_thread, reply_port, in __pthread_thread_terminate()89 err = __thread_terminate (kernel_thread); in __pthread_thread_terminate()
39 int ok = thread->kernel_thread == ktid; in __pthread_thread_start()41 thread->kernel_thread); in __pthread_thread_start()48 err = __thread_resume (thread->kernel_thread); in __pthread_thread_start()
79 thread->kernel_thread = __mach_thread_self (); in __pthread_thread_alloc()84 err = __thread_create (__mach_task_self (), &thread->kernel_thread); in __pthread_thread_alloc()
43 me = p->kernel_thread == ktid; in __pthread_do_cancel()51 struct hurd_sigstate *ss = _hurd_thread_sigstate (p->kernel_thread); in __pthread_do_cancel()56 err = __thread_suspend (p->kernel_thread); in __pthread_do_cancel()61 err = __thread_abort (p->kernel_thread); in __pthread_do_cancel()64 err = __thread_set_pcsptp (p->kernel_thread, in __pthread_do_cancel()68 err = __thread_resume (p->kernel_thread); in __pthread_do_cancel()
31 thread_t kernel_thread; \45 int ok = thread->kernel_thread == ktid; \
27 _hurd_sigstate_delete (thread->kernel_thread); in __pthread_sigstate_destroy()
37 struct hurd_sigstate *ss = _hurd_thread_sigstate (thread->kernel_thread); in __pthread_sigstate_init()
39 ss = _hurd_thread_sigstate (thread->kernel_thread); in __pthread_sigstate()
87 if (thread->kernel_thread == ktid) in __pthread_setup()98 err = __thread_set_pcsptp (thread->kernel_thread, in __pthread_setup()107 tcb->self = thread->kernel_thread; in __pthread_setup()
38 if (pthread->kernel_thread == MACH_PORT_DEAD) in __pthread_kill()42 ss = _hurd_thread_sigstate (pthread->kernel_thread); in __pthread_kill()
1181 htl: Clear kernel_thread field before releasing the thread structure