diff options
Diffstat (limited to 'libports')
-rw-r--r-- | libports/ports.h | 4 |
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); |