This is the mail archive of the libc-alpha@sourceware.org mailing list for the glibc project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [PATCH 2/3] Linux: Consolidate {RTLD_}SINGLE_THREAD_P definition



On 08/08/2017 08:59, Adhemerval Zanella wrote:
> 
> 
> On 08/08/2017 03:18, Florian Weimer wrote:
>> On 08/07/2017 11:11 PM, Adhemerval Zanella wrote:
>>> 	* sysdeps/unix/sysv/linux/x86_64/sysdep.h (SINGLE_THREAD_BY_GLOBAL):
>>> 	Likewise.
>>
>> Is this correct?  Should it be guarded by IS_IN (libc)?
>>
>> Thanks,
>> Florian
>>
> 
> SINGLE_THREAD_BY_GLOBAL is already used guarded with IS_IN (libc)
> for the cases where the code is build on both libc and libpthread:
> 
> nptl/libc_multiple_threads.c:21:#if IS_IN (libc) && defined (SINGLE_THREAD_BY_GLOBAL)
> nptl/vars.c:38:#if IS_IN (libpthread) && defined (SINGLE_THREAD_BY_GLOBAL)
> 

If noone objects I will commit it.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]