diff options
Diffstat (limited to 'libports/init.c')
-rw-r--r-- | libports/init.c | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/libports/init.c b/libports/init.c index 3ef53888..4a68cb8b 100644 --- a/libports/init.c +++ b/libports/init.c @@ -19,9 +19,14 @@ Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. */ #include "ports.h" +#include <stddef.h> pthread_mutex_t _ports_lock = PTHREAD_MUTEX_INITIALIZER; pthread_cond_t _ports_block = PTHREAD_COND_INITIALIZER; -struct port_bucket *_ports_all_buckets; + +struct hurd_ihash _ports_htable = + HURD_IHASH_INITIALIZER (offsetof (struct port_info, ports_htable_entry)); +pthread_rwlock_t _ports_htable_lock = PTHREAD_RWLOCK_INITIALIZER; + int _ports_total_rpcs; int _ports_flags; |