summaryrefslogtreecommitdiff
path: root/libports
diff options
context:
space:
mode:
authorMiles Bader <miles@gnu.org>1995-12-28 18:40:18 +0000
committerMiles Bader <miles@gnu.org>1995-12-28 18:40:18 +0000
commitf033b32a8e69ebc6b5b8d42c23cfb2c7ff92d3f7 (patch)
treeb74cefa204fe10b2962ca79bc66d2dbe33b8a5cb /libports
parent3be5474d345378ccb1c8d91655893b779a0e4924 (diff)
(ports_interrupt_self_on_dead_port): New macro.
Diffstat (limited to 'libports')
-rw-r--r--libports/ports.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/libports/ports.h b/libports/ports.h
index 521ddbb8..07df0ccf 100644
--- a/libports/ports.h
+++ b/libports/ports.h
@@ -302,6 +302,10 @@ error_t
ports_interrupt_self_on_notification (void *object,
mach_port_t port, mach_msg_id_t what);
+/* Some handy aliases. */
+#define ports_interrupt_self_on_dead_port(obj, port) \
+ ports_interrupt_self_on_notification (obj, port, MACH_NOTIFY_DEAD_NAME)
+
/* Interrupt any rpcs on OBJECT that have requested such. */
void ports_interrupt_notified_rpcs (void *object, mach_port_t port,
mach_msg_id_t what);