summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRoland McGrath <roland@gnu.org>1995-11-18 13:50:08 +0000
committerRoland McGrath <roland@gnu.org>1995-11-18 13:50:08 +0000
commitd39087c451fdeb7ee5cf0638bae74df58196c52f (patch)
tree584acb9566097822c2c349e2e64b5412e82f9197
parente80dfab0304b0ff2b3ea5846bc62a540f345b5fd (diff)
(ports_inhibit_all_rpcs): Renamed from inhibit_all_rpcs.
-rw-r--r--libports/inhibit-all-rpcs.c12
1 files changed, 6 insertions, 6 deletions
diff --git a/libports/inhibit-all-rpcs.c b/libports/inhibit-all-rpcs.c
index f1808180..ebddbddd 100644
--- a/libports/inhibit-all-rpcs.c
+++ b/libports/inhibit-all-rpcs.c
@@ -1,4 +1,4 @@
-/*
+/*
Copyright (C) 1995 Free Software Foundation, Inc.
Written by Michael I. Bushnell.
@@ -24,7 +24,7 @@
#include <hurd/ihash.h>
void
-inhibit_all_rpcs ()
+ports_inhibit_all_rpcs ()
{
struct port_bucket *bucket;
error_t interruptor (void *portstruct)
@@ -41,17 +41,17 @@ inhibit_all_rpcs ()
for (bucket = _ports_all_buckets; bucket; bucket = bucket->next)
ihash_iterate (bucket->htable, interruptor);
-
+
while (_ports_total_rpcs)
{
_ports_flags |= _PORTS_INHIBIT_WAIT;
condition_wait (&_ports_block, &_ports_lock);
}
-
+
_ports_flags |= _PORTS_INHIBITED;
_ports_flags &= ~_PORTS_INHIBIT_WAIT;
-
+
mutex_unlock (&_ports_lock);
}
-
+