Lines Matching refs:wait

183     struct inf_wait wait;	/* What to return from target_wait.  */  member
337 else if (proc == inf->wait.thread && inf->wait.exc.reply && !force) in proc_abort()
614 if (proc == inf->wait.thread) in _proc_free()
647 inf->wait.status.kind = TARGET_WAITKIND_SPURIOUS; in make_inf()
648 inf->wait.thread = 0; in make_inf()
649 inf->wait.exc.handler = MACH_PORT_NULL; in make_inf()
650 inf->wait.exc.reply = MACH_PORT_NULL; in make_inf()
676 inf->wait.status.kind = TARGET_WAITKIND_SPURIOUS; in inf_clear_wait()
677 inf->wait.thread = 0; in inf_clear_wait()
678 inf->wait.suppress = 0; in inf_clear_wait()
679 if (inf->wait.exc.handler != MACH_PORT_NULL) in inf_clear_wait()
681 mach_port_deallocate (mach_task_self (), inf->wait.exc.handler); in inf_clear_wait()
682 inf->wait.exc.handler = MACH_PORT_NULL; in inf_clear_wait()
684 if (inf->wait.exc.reply != MACH_PORT_NULL) in inf_clear_wait()
686 mach_port_deallocate (mach_task_self (), inf->wait.exc.reply); in inf_clear_wait()
687 inf->wait.exc.reply = MACH_PORT_NULL; in inf_clear_wait()
1305 struct inf_wait *w = &inf->wait; in inf_signal()
1530 struct inf_wait *w = &inf->wait; in gnu_wait()
1567 if (inf->wait.suppress) in gnu_wait()
1577 memcpy (status, &inf->wait.status, sizeof (*status)); in gnu_wait()
1579 thread = inf->wait.thread; in gnu_wait()
1647 inf->wait.thread = thread; in S_exception_raise_request()
1649 inf->wait.status.kind = TARGET_WAITKIND_STOPPED; in S_exception_raise_request()
1654 inf->wait.status.value.sig = TARGET_SIGNAL_TRAP; in S_exception_raise_request()
1664 inf->wait.exc.handler = thread->saved_exc_port; in S_exception_raise_request()
1670 inf->wait.exc.handler = inf->task->saved_exc_port; in S_exception_raise_request()
1673 if (inf->wait.exc.handler != MACH_PORT_NULL) in S_exception_raise_request()
1676 inf->wait.exc.handler, MACH_PORT_RIGHT_SEND, in S_exception_raise_request()
1679 inf->wait.exc.exception = exception; in S_exception_raise_request()
1680 inf->wait.exc.code = code; in S_exception_raise_request()
1681 inf->wait.exc.subcode = subcode; in S_exception_raise_request()
1682 inf->wait.exc.reply = reply_port; in S_exception_raise_request()
1686 inf->wait.status.value.sig = in S_exception_raise_request()
1693 inf->wait.suppress = 1; in S_exception_raise_request()
1707 inf->wait.status.kind = TARGET_WAITKIND_SIGNALLED; in inf_task_died_status()
1708 inf->wait.status.value.sig = TARGET_SIGNAL_KILL; in inf_task_died_status()
1726 inf->wait.suppress = 1; in do_mach_notify_dead_name()
1743 inf->wait.suppress = 1; in do_mach_notify_dead_name()
1830 store_waitstatus (&inf->wait.status, status); in S_proc_wait_reply()
1831 if (inf->wait.status.kind == TARGET_WAITKIND_STOPPED) in S_proc_wait_reply()
1840 inf->wait.suppress = 1; /* Something odd happened. Ignore. */ in S_proc_wait_reply()
1873 inf->wait.status.kind = TARGET_WAITKIND_STOPPED; in S_msg_sig_post_untraced_reply()
1874 inf->wait.status.value.sig = TARGET_SIGNAL_0; in S_msg_sig_post_untraced_reply()
1886 inf->wait.suppress = 1; in S_msg_sig_post_untraced_reply()
1946 else if (inf->wait.exc.reply != MACH_PORT_NULL) in gnu_resume()
1950 proc_abort (inf->wait.thread, 1); in gnu_resume()
1952 proc_string (inf->wait.thread), in gnu_resume()
1953 target_signal_to_name (inf->wait.status.value.sig)); in gnu_resume()