#if __LT_SPINLOCK_INIT == 0
# define __libc_lock_define_initialized(CLASS,NAME) \
CLASS pthread_mutex_t NAME;
#else
# define __libc_lock_define_initialized(CLASS,NAME) \
CLASS pthread_mutex_t NAME = PTHREAD_MUTEX_INITIALIZER;
#endif
On hppa, __LT_SPINLOCK_INIT is defined as:
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
On Mon, Feb 10, 2003 at 10:18:21AM -0500, Ben Collins wrote:
#if __LT_SPINLOCK_INIT == 0
# define __libc_lock_define_initialized(CLASS,NAME) \
CLASS pthread_mutex_t NAME;
#else
# define __libc_lock_define_initialized(CLASS,NAME) \
CLASS pthread_mutex_t NAME =
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.
On Mon, Feb 10, 2003 at 09:42:20PM -0500, Carlos O'Donell wrote:
New patches will be coming this evening to fix libnss-db.
Plunk it in at libnss-db-2.2/debian/patches/004_hppa_libc-lock.diff
- Builds libnss-db-2.2
- Haven't tested the built package, but the patch is trivial.
I'm not a
New patches will be coming this evening to fix libnss-db.
Plunk it in at libnss-db-2.2/debian/patches/004_hppa_libc-lock.diff
- Builds libnss-db-2.2
- Haven't tested the built package, but the patch is trivial.
I'm not a DD yet so I can't push this forward, would someone please do
me the
6 matches
Mail list logo