diff options
author | Miles Bader <miles@gnu.org> | 1997-08-20 20:32:25 +0000 |
---|---|---|
committer | Miles Bader <miles@gnu.org> | 1997-08-20 20:32:25 +0000 |
commit | 7864068cd5e53a8fdd220927da003f803f657341 (patch) | |
tree | 532aac280f04fa7ceb6fa968f5e3464c9b7c1cf6 /libports | |
parent | cbe5d0a8681a24b25ed68e09952367f4b4a98a4c (diff) |
(ports_end_rpc):
Call ports_self_interrupted to remove the current thread from the
interrupted list.
Diffstat (limited to 'libports')
-rw-r--r-- | libports/end-rpc.c | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/libports/end-rpc.c b/libports/end-rpc.c index d4d46e62..d2aceedf 100644 --- a/libports/end-rpc.c +++ b/libports/end-rpc.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. @@ -44,6 +44,10 @@ ports_end_rpc (void *port, struct rpc_info *info) || (!_ports_total_rpcs && (_ports_flags & _PORTS_INHIBIT_WAIT))) condition_broadcast (&_ports_block); + /* This removes the current thread's rpc (which should be INFO) from the + ports interrupted list. */ + ports_self_interrupted (); + /* Clear the cancellation flag for this thread since the current RPC is now finished anwhow. */ hurd_check_cancel (); |