From dabbec88cb6532c4bd9058cf6a9e7e7921fd3cf1 Mon Sep 17 00:00:00 2001 From: Miles Bader Date: Sat, 27 Apr 1996 01:33:50 +0000 Subject: (service_fsys_startup): Make the mach_msg call sending the startup reply interruptible. --- libfshelp/start-translator-long.c | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/libfshelp/start-translator-long.c b/libfshelp/start-translator-long.c index dc5f9984..34202f43 100644 --- a/libfshelp/start-translator-long.c +++ b/libfshelp/start-translator-long.c @@ -157,9 +157,10 @@ service_fsys_startup (fshelp_open_fn_t underlying_open_fn, reply.head.msgh_bits |= MACH_MSGH_BITS_COMPLEX; } - err = mach_msg(&reply.head, MACH_SEND_MSG, sizeof(reply), 0, - request.head.msgh_remote_port, - MACH_MSG_TIMEOUT_NONE, MACH_PORT_NULL); + err = mach_msg (&reply.head, MACH_SEND_MSG | MACH_SEND_INTERRUPT, + sizeof(reply), 0, + request.head.msgh_remote_port, + MACH_MSG_TIMEOUT_NONE, MACH_PORT_NULL); if (reply.RetCode) /* Make our error return be the earlier one. */ -- cgit v1.2.3