diff options
author | Neal H. Walfield <neal@gnu.org> | 2005-05-02 22:00:34 +0000 |
---|---|---|
committer | Neal H. Walfield <neal@gnu.org> | 2005-05-02 22:00:34 +0000 |
commit | 6c7755ebb4718153b144b59f9becbf1b5e785f02 (patch) | |
tree | 8ee76a9219839b5ae4f2537fc13a021463c33849 /pthread/pt-detach.c | |
parent | 3f126cc9b3b8fb6f98dd4bdbe4f69f89ec7ab1a4 (diff) |
libpthread/
2005-05-02 Neal H. Walfield <neal@gnu.org>
* pthread/pt-alloc.c (__pthread_alloc): Set the thread id to the
table index plus one.
* pthread/pt-internal.h (__pthread_getid): Index __pthread_threads
using THREAD - 1, not THREAD.
(__pthread_setid): Likewise.
* pthread/pt-create.c (__pthread_create_internal): Likewise.
* sysdeps/generic/pt-mutex-trylock.c (__pthread_mutex_trylock):
When returning EBUSY, don't forget to first unlock MUTEX->__HELD.
Diffstat (limited to 'pthread/pt-detach.c')
0 files changed, 0 insertions, 0 deletions