From 95304a5ba6dd3be0bc83116b8adf8466db3219c6 Mon Sep 17 00:00:00 2001 From: "Michael I. Bushnell" Date: Fri, 8 Sep 1995 18:44:01 +0000 Subject: (ports_end_rpc): Call hurd_check_cancel. --- libports/end-rpc.c | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'libports') diff --git a/libports/end-rpc.c b/libports/end-rpc.c index 8eb31180..e4aba7bc 100644 --- a/libports/end-rpc.c +++ b/libports/end-rpc.c @@ -40,5 +40,9 @@ ports_end_rpc (void *port, struct rpc_info *info) || (!_ports_total_rpcs && (_ports_flags & _PORTS_INHIBIT_WAIT))) condition_broadcast (&_ports_block); + /* Clear the cancellation flag for this thread since the current + RPC is now finished anwhow. */ + hurd_check_cancel (); + mutex_unlock (&_ports_lock); } -- cgit v1.2.3