Lines Matching refs:thread
80 thread_t thread, sigthread; in _Fork() local
100 if (threads[i] != ss->thread) in _Fork()
125 thread = sigthread = MACH_PORT_NULL; in _Fork()
141 err = __proc_dostop (_hurd_ports[INIT_PORT_PROC].port, ss->thread); in _Fork()
316 else if (portnames[i] == ss->thread) in _Fork()
430 if ((err = __thread_create (newtask, &thread)) in _Fork()
438 if ((err = __mach_port_deallocate (newtask, ss->thread)) in _Fork()
439 || (err = __mach_port_insert_right (newtask, ss->thread, in _Fork()
440 thread, in _Fork()
445 && (err = __mach_port_mod_refs (newtask, ss->thread, in _Fork()
522 if (err = _hurd_tls_fork (thread, ss->thread, &state)) in _Fork()
525 if (err = __thread_set_state (thread, MACHINE_THREAD_STATE_FLAVOR, in _Fork()
549 (void) __thread_resume (thread); in _Fork()
564 if (thread != MACH_PORT_NULL) in _Fork()
565 __mach_port_deallocate (__mach_task_self (), thread); in _Fork()
681 if (oldstates->thread == _hurd_msgport_thread) in _Fork()