1999-08-19 Roland McGrath <roland@baalperazim.frob.com>
authorroland <roland>
Sun, 22 Aug 1999 22:23:58 +0000 (22:23 +0000)
committerroland <roland>
Sun, 22 Aug 1999 22:23:58 +0000 (22:23 +0000)
commit578439ea4a000f041637f06ba0a2db59491740ad
treedbdfcd3c18541db24ba3298cedc6b4db072f3f1e
parent7878ea5deb54689defb0220ac387ff9de724d9fb
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