Hi! On Thu, 20 Oct 2011 17:12:45 +0200, I wrote: > I have prepared ChangeLog snippets/commit logs for your TLS patches for > libthreads and libpthread, to merge them into the master branches. > > I consider our Savannah glibc repository as current upstream for glibc, > and the TLS patch is in there, so support should be in the Hurd thread > libraries, too. > > I did not make any functional changes, but I did do some changes in > libpthread's generic code to only enable TLS conditionally on > -DENABLE_TLS -- which I define only for Mach/Hurd (x86), but not Neal's > l4/Viengoos cases. I have not tested this, but I'm confident that it's > OK.
Pushed. > I understand it correctly that upon thread termination, libthreads leaks > the static TLS blocks that it allocated with _dl_allocate_tls? Reading its source code, in fact it seems that libthreads never gives up on a kernel thread, so there can't ever be the need to relinquish this TLS block -- correct? Grüße, Thomas
pgpjsM7ivJzl5.pgp
Description: PGP signature