Searched refs:msg_port (Results 1 - 1 of 1) sorted by relevance

/xnu-2422.115.4/tools/tests/unit_tests/sprace_test_11891562_src/
H A Dsprace_test_11891562.c23 mach_port_t msg_port = MACH_PORT_NULL; variable
47 kr = mach_port_request_notification(mach_task_self(), msg_port,
75 smsg.header.msgh_remote_port = msg_port;
130 if (nmsg.not_port != msg_port) {
131 fprintf(stderr, "send possible notification about wrong port (0x%x != 0x%x)\n", nmsg.not_port, msg_port);
140 if (nmsg.not_port != msg_port) {
141 fprintf(stderr, "dead name notification about wrong port (0x%x != 0x%x)\n", nmsg.not_port, msg_port);
172 kr = mach_port_allocate(mach_task_self(), MACH_PORT_RIGHT_RECEIVE, &msg_port);
174 mach_error("mach_port_allocate(msg_port)", kr);
177 kr = mach_port_insert_right(mach_task_self(), msg_port, msg_por
[all...]

Completed in 17 milliseconds