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 v8 5/8] nptl: Add C11 threads tss_* functions


On 07/12/2018 10:32 PM, Adhemerval Zanella wrote:
This needs a __cplusplus conditional.  _Thread_local does not exist in C++.  The macro has to be defined to thread_local starting with C++11.

I think we can just not define it for C++, not really checking which
version is being used.

Sounds fine to me.

Thanks,
Florian


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