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

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



> #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:
> #define __LT_SPINLOCK_INIT ((__atomic_lock_t){ 1 })
> 
> So, either the libc pthreads patch needs to change, or the libc-lock.h header
> needs to be updated to work with hppa's value of __LT_SPINLOCK_INIT ...
 
The latter I would guess.


-- 
Debian     - http://www.debian.org/
Linux 1394 - http://www.linux1394.org/
Subversion - http://subversion.tigris.org/
Deqo       - http://www.deqo.com/



Reply to: