about summary refs log tree commit diff
diff options
context:
space:
mode:
authorThomas Bushnell, BSG <thomas@gnu.org>1996-05-06 21:00:43 +0000
committerThomas Bushnell, BSG <thomas@gnu.org>1996-05-06 21:00:43 +0000
commit3d46e1cd0a164d5a605eb40219da0be5931aef5e (patch)
tree7975f8fbe9c75491497406c46cb2ce039892cad6
parent339841f9858aa7b7b3ed26847a75df6656da8e5f (diff)
downloadglibc-3d46e1cd0a164d5a605eb40219da0be5931aef5e.tar.gz
glibc-3d46e1cd0a164d5a605eb40219da0be5931aef5e.tar.xz
glibc-3d46e1cd0a164d5a605eb40219da0be5931aef5e.zip
(_hurd_intr_rpc_mach_msg): New declaration.
-rw-r--r--hurd/hurd/signal.h12
1 files changed, 12 insertions, 0 deletions
diff --git a/hurd/hurd/signal.h b/hurd/hurd/signal.h
index fdaafdf459..4b439b6faa 100644
--- a/hurd/hurd/signal.h
+++ b/hurd/hurd/signal.h
@@ -273,6 +273,18 @@ extern void _hurd_longjmp_thread_state (void *state, jmp_buf env, int value);
 
 extern void _hurd_siginfo_handler (int);
 
+/* Replacement for mach_msg used in RPCs to provide Hurd interruption
+   semantics.  Args are all the same as for mach_msg.  intr-rpc.h arranges
+   for this version to be used automatically by the RPC stubs the library
+   builds in place of the normal mach_msg. */
+error_t _hurd_intr_rpc_mach_msg (mach_msg_header_t *msg,
+				 mach_msg_option_t option,
+				 mach_msg_size_t send_size,
+				 mach_msg_size_t rcv_size,
+				 mach_port_t rcv_name,
+				 mach_msg_timeout_t timeout,
+				 mach_port_t notify);
+
 
 /* Milliseconds to wait for an interruptible RPC to return after
    `interrupt_operation'.  */