diff options
author | Neal H. Walfield <neal@gnu.org> | 2007-08-06 16:32:43 +0000 |
---|---|---|
committer | Thomas Schwinge <tschwinge@gnu.org> | 2009-04-06 22:41:54 +0200 |
commit | 7373049ff9aac3dbfe088da7d30b2724d15fa67a (patch) | |
tree | 2ee39a6f6550cca7f43606108a85327bfab0f1cf /sysdeps/l4/pt-pool-np.c | |
parent | 8b5dd2555959dd72143fa43382dc15532a0b420a (diff) |
2007-08-06 Neal H. Walfield <neal@gnu.org>
* sysdeps/l4/bits/pthread-np.h (pthread_create_from_l4_tid_np):
Don't require the GNU interface: use _L4_thread_id_t, not
l4_thread_id_t.
(pthread_pool_add_np): Likewise.
(pthread_pool_get_np): Likewise.
* sysdeps/l4/pt-create-np.c (pthread_create_from_l4_tid_np): Likewise.
* sysdeps/l4/pt-pool-np.c (pool_list): Likewise.
(pthread_pool_add_np): Likewise.
(pthread_pool_get_np): Likewise.
Diffstat (limited to 'sysdeps/l4/pt-pool-np.c')
-rw-r--r-- | sysdeps/l4/pt-pool-np.c | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/sysdeps/l4/pt-pool-np.c b/sysdeps/l4/pt-pool-np.c index d006b4f3..c72f2eb2 100644 --- a/sysdeps/l4/pt-pool-np.c +++ b/sysdeps/l4/pt-pool-np.c @@ -1,5 +1,5 @@ /* Thread pool for L4 threads. - Copyright (C) 2004 Free Software Foundation, Inc. + Copyright (C) 2004, 2007 Free Software Foundation, Inc. This file is part of the GNU C Library. The GNU C Library is free software; you can redistribute it and/or @@ -22,11 +22,11 @@ static pthread_mutex_t pool_lock = PTHREAD_MUTEX_INITIALIZER; -l4_thread_id_t pool_list = l4_nilthread; +_L4_thread_id_t pool_list = l4_nilthread; /* Add the thread TID to the pthread kernel thread pool. */ int -pthread_pool_add_np (l4_thread_id_t tid) +pthread_pool_add_np (_L4_thread_id_t tid) { __pthread_mutex_lock (&pool_lock); /* FIXME: Do error checking. */ @@ -38,10 +38,10 @@ pthread_pool_add_np (l4_thread_id_t tid) /* Get the first thread from the pool. */ -l4_thread_id_t +_L4_thread_id_t pthread_pool_get_np (void) { - l4_thread_id_t tid; + _L4_thread_id_t tid; __pthread_mutex_lock (&pool_lock); /* FIXME: Do error checking. */ |