[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
hurd/libpthread sysdeps/generic/pt-mutex-tryloc...
From: |
Neal H . Walfield |
Subject: |
hurd/libpthread sysdeps/generic/pt-mutex-tryloc... |
Date: |
Mon, 02 May 2005 18:00:34 -0400 |
CVSROOT: /cvsroot/hurd
Module name: hurd
Branch:
Changes by: Neal H. Walfield <address@hidden> 05/05/02 22:00:34
Modified files:
libpthread/sysdeps/generic: pt-mutex-trylock.c
libpthread/pthread: pt-internal.h pt-create.c pt-alloc.c
libpthread : ChangeLog
Log message:
libpthread/
2005-05-02 Neal H. Walfield <address@hidden>
* 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.
CVSWeb URLs:
http://savannah.gnu.org/cgi-bin/viewcvs/hurd/hurd/libpthread/sysdeps/generic/pt-mutex-trylock.c.diff?tr1=1.1&tr2=1.2&r1=text&r2=text
http://savannah.gnu.org/cgi-bin/viewcvs/hurd/hurd/libpthread/pthread/pt-internal.h.diff?tr1=1.1&tr2=1.2&r1=text&r2=text
http://savannah.gnu.org/cgi-bin/viewcvs/hurd/hurd/libpthread/pthread/pt-create.c.diff?tr1=1.2&tr2=1.3&r1=text&r2=text
http://savannah.gnu.org/cgi-bin/viewcvs/hurd/hurd/libpthread/pthread/pt-alloc.c.diff?tr1=1.1&tr2=1.2&r1=text&r2=text
http://savannah.gnu.org/cgi-bin/viewcvs/hurd/hurd/libpthread/ChangeLog.diff?tr1=1.14&tr2=1.15&r1=text&r2=text
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- hurd/libpthread sysdeps/generic/pt-mutex-tryloc...,
Neal H . Walfield <=