[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#173082: libnss-db's libc-lock.h



> That's really fucking stupid.  Nothing in that name indicates to me it
> should be used as a predicate.  And it wasn't when I originally defined
> it, it was (as its name implies) the value to initialise a spinlock to.
> Call it __LT_MUTEX_INITIALISER_NEEDED or __LT_SPINLOCK_INIT_P or
> something.

Willy doesn't remember, but he already implemented a fix for this a while
back. Under hppa we have __LT_INITIALIZER_NOT_ZERO and replace the #if's
with #ifdef's.

New patches will be coming this evening to fix libnss-db.

John David Anglin an myself have been working on a new set of glibc
pthreads patches that use MALLOC_ALIGNMENT=8, and self-aligning locks so
we don't have to rely on special alignment requirements from gcc. Those
will hopefully be part of the changes in the next patch set, which will
again be submitted upstream. The new patches have shown less failures in
gcc's testsuite.

Glibc specific hppa issues can be directed to me :)

c.




Reply to: