[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: TLS patches

From: Thomas Schwinge
Subject: Re: TLS patches
Date: Thu, 20 Oct 2011 18:35:58 +0200
User-agent: Notmuch/0.9-101-g81dad07 (http://notmuchmail.org) Emacs/23.3.1 (i486-pc-linux-gnu)


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.


> 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?


Attachment: pgpmkwp_Y6nFI.pgp
Description: PGP signature

reply via email to

[Prev in Thread] Current Thread [Next in Thread]