summaryrefslogtreecommitdiff
path: root/hurd
diff options
context:
space:
mode:
authorRoland McGrath <roland@gnu.org>1994-08-09 23:43:44 +0000
committerRoland McGrath <roland@gnu.org>1994-08-09 23:43:44 +0000
commit0d764353363c8476edcf061683671be23b387b67 (patch)
tree08a6c5d20bd67674fdfca296146496b86d2af197 /hurd
parent844af0c521d95b8678e16b8851fff2fa3bb8d974 (diff)
entered into RCS
Diffstat (limited to 'hurd')
-rw-r--r--hurd/interrupt.defs12
1 files changed, 10 insertions, 2 deletions
diff --git a/hurd/interrupt.defs b/hurd/interrupt.defs
index 8b27a79d..69fc3ef2 100644
--- a/hurd/interrupt.defs
+++ b/hurd/interrupt.defs
@@ -1,5 +1,5 @@
-/* Interrup [get the phone, will ya?] tion.
- Copyright (C) 1993 Free Software Foundation, Inc.
+/* Interrup [get the phone, will ya?] tion. -*- C -*-
+ Copyright (C) 1993, 1994 Free Software Foundation, Inc.
This file is part of the GNU Hurd.
@@ -23,6 +23,14 @@ subsystem interrupt 33000;
#include <hurd/hurd_types.defs>
+/* Time in milliseconds to wait for a reply before
+ returning MACH_RCV_TIMED_OUT. */
+
+#ifndef INTERRUPT_TIMEOUT
+#define INTERRUPT_TIMEOUT 1000 /* One second. */
+#endif
+waittime INTERRUPT_TIMEOUT;
+
/* Cause a pending request on this object to immediately return. The
exact semantics are dependent on the specific object. */