diff options
-rw-r--r-- | hurd/interrupt.defs | 12 |
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. */ |