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 roland/tls-init] Start cleaning up TLS initial value for pthread_create.


On Fri, Jun 06, 2014 at 03:58:11PM -0700, Roland McGrath wrote:
> This replaces the TLS_VALUE macro in createthread.c with a new macro
> TLS_DEFINE_INIT_TP, defined in tls.h.  This consolidates the knowledge
> of machine-specific TLS details into tls.h where it belongs.  It also
> gets rid of the need for any per-machine createthread.c files.
> 
> Verified on x86_64-linux-gnu and i686-linux-gnu that there are no
> significant code changes in libpthread.so.
> 
> If nobody objects, then I'll commit this on Monday and follow up with
> TLS_DEFINE_INIT_TP definitions for the other machines.

Very happy to see this kind of cleanup!

Rich


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