1999-08-19 Roland McGrath <roland@baalperazim.frob.com>
authorRoland McGrath <roland@gnu.org>
Sun, 22 Aug 1999 22:23:58 +0000 (22:23 +0000)
committerRoland McGrath <roland@gnu.org>
Sun, 22 Aug 1999 22:23:58 +0000 (22:23 +0000)
commit38e30b398a33ecaf1c17aa5cef9520564d41d4ef
treea51890bda3f5aad7b993deb023f9bbb38fad1f48
parentab58d6203b8322bcfa253923d86c991c1f6a4294
1999-08-19  Roland McGrath  <roland@baalperazim.frob.com>

* sysdeps/mach/hurd/i386/intr-msg.h (INTR_MSG_TRAP): Mark OPTION and
TIMEOUT as outputs of the asm to indicate that the signal thread
might mutate them.
* hurd/intr-msg.c (_hurd_intr_rpc_mach_msg): Short circuit to plain
mach_msg if only sending or only receiving (i.e., not an RPC).  When
making an RPC that might get interrupted, save OPTION and the portion
of the message buffer that gets clobbered by an EINTR reply message,
and properly restore them before attempting to retry the request
message send.
hurd/intr-msg.c
sysdeps/mach/hurd/i386/intr-msg.h