summaryrefslogtreecommitdiff
path: root/libports
diff options
context:
space:
mode:
authorMiles Bader <miles@gnu.org>1997-08-20 20:38:47 +0000
committerMiles Bader <miles@gnu.org>1997-08-20 20:38:47 +0000
commit06bc2567f84577b548aa7d940872803c6b54d95a (patch)
tree9ddde14c73e6c85ea46a79e5db36d6d3cb8f0f36 /libports
parent5a42011e93e118b3159b645be9a7183906099be0 (diff)
(ports_interrupt_rpcs):
Put RPC into the interrupted list.
Diffstat (limited to 'libports')
-rw-r--r--libports/interrupt-rpcs.c7
1 files changed, 5 insertions, 2 deletions
diff --git a/libports/interrupt-rpcs.c b/libports/interrupt-rpcs.c
index 95eeed4b..7c28ff2c 100644
--- a/libports/interrupt-rpcs.c
+++ b/libports/interrupt-rpcs.c
@@ -1,5 +1,5 @@
/*
- Copyright (C) 1995, 1996 Free Software Foundation, Inc.
+ Copyright (C) 1995, 1996, 1997 Free Software Foundation, Inc.
Written by Michael I. Bushnell.
This file is part of the GNU Hurd.
@@ -31,7 +31,10 @@ ports_interrupt_rpcs (void *portstruct)
mutex_lock (&_ports_lock);
for (rpc = pi->current_rpcs; rpc; rpc = rpc->next)
- hurd_thread_cancel (rpc->thread);
+ {
+ hurd_thread_cancel (rpc->thread);
+ _ports_record_interruption (rpc);
+ }
mutex_unlock (&_ports_lock);
}