diff options
author | Miles Bader <miles@gnu.org> | 1996-04-27 01:33:50 +0000 |
---|---|---|
committer | Miles Bader <miles@gnu.org> | 1996-04-27 01:33:50 +0000 |
commit | dabbec88cb6532c4bd9058cf6a9e7e7921fd3cf1 (patch) | |
tree | 22223f88e74df2f62852d8e32f1c8133028b1b82 /libfshelp/start-translator-long.c | |
parent | 5705ab6d99df5d132282ed8bc003c57ca28a8ad4 (diff) |
(service_fsys_startup):
Make the mach_msg call sending the startup reply interruptible.
Diffstat (limited to 'libfshelp/start-translator-long.c')
-rw-r--r-- | libfshelp/start-translator-long.c | 7 |
1 files 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. */ |