[PATCH] __libc_lock_define_initialized: Always initialize the lock
Adhemerval Zanella
adhemerval.zanella@linaro.org
Wed Nov 25 19:26:00 GMT 2015
On 25-11-2015 17:24, Florian Weimer wrote:
> On 11/25/2015 07:43 PM, Adhemerval Zanella wrote:
>
>> LGTM. Since you touching this, I think it is worthwhile to cleanup the
>> LLL_LOCK_INITIALIZER{_LOCKED,_WAITERS} definition (i386, sparc, and
>> x86_64 redefines it to same value).
>
> Do you suggest to remove the architecture-specific #defines?
Yes, since right now they are equal to default one at
sysdeps/nptl/lowlevellock.h, and I see not reason to have different
definition for each architecture.
>
> Thanks,
> Florian
>
More information about the Libc-alpha
mailing list