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

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



On Mon, Feb 10, 2003 at 10:51:34AM -0500, Daniel Jacobowitz wrote:
> Glibc defines __LT_SPINLOCK_INIT on HPPA as "1".  Another constant hods
> the initializer; __LT_SPINLOCK_INIT is a predicate.

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.

-- 
"It's not Hollywood.  War is real, war is primarily not about defeat or
victory, it is about death.  I've seen thousands and thousands of dead bodies.
Do you think I want to have an academic debate on this subject?" -- Robert Fisk



Reply to: