aboutsummaryrefslogtreecommitdiff
path: root/hurd/hurdsig.c
diff options
context:
space:
mode:
authorMiles Bader <miles@gnu.org>1996-05-01 01:01:48 +0000
committerMiles Bader <miles@gnu.org>1996-05-01 01:01:48 +0000
commitd3dc731b4741072b890428b1e125228fcb8bf4a2 (patch)
tree2635ca30b17805379671788e3f0cf0b031227937 /hurd/hurdsig.c
parent06f82985cb4ea5b421321c07ee2215644656de0a (diff)
downloadglibc-d3dc731b4741072b890428b1e125228fcb8bf4a2.tar
glibc-d3dc731b4741072b890428b1e125228fcb8bf4a2.tar.gz
glibc-d3dc731b4741072b890428b1e125228fcb8bf4a2.tar.bz2
glibc-d3dc731b4741072b890428b1e125228fcb8bf4a2.zip
(describe_number): Correctly allocate space in DESCRIPTION for the digits in I.
Diffstat (limited to 'hurd/hurdsig.c')
-rw-r--r--hurd/hurdsig.c5
1 files changed, 4 insertions, 1 deletions
diff --git a/hurd/hurdsig.c b/hurd/hurdsig.c
index 3ba54290fe..a84e7bc54e 100644
--- a/hurd/hurdsig.c
+++ b/hurd/hurdsig.c
@@ -233,6 +233,9 @@ interrupted_reply_port_location (struct machine_thread_all_state *thread_state,
#include <hurd/sigpreempt.h>
#include "intr-msg.h"
+/* Timeout on interrupt_operation calls. */
+mach_msg_timeout_t _hurdsig_interrupt_timeout = 1000;
+
/* SS->thread is suspended.
Abort any interruptible RPC operation the thread is doing.
@@ -299,7 +302,7 @@ _hurdsig_abort_rpcs (struct hurd_sigstate *ss, int signo, int sigthread,
mach_port_t *reply = interrupted_reply_port_location (state,
sigthread);
- error_t err = __interrupt_operation (intr_port);
+ error_t err = __interrupt_operation (intr_port, _hurdsig_interrupt_timeout);
if (err)
{