bug-hurd
[Top][All Lists]
Advanced

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

Re: [RFC] Enable thread termination


From: Samuel Thibault
Subject: Re: [RFC] Enable thread termination
Date: Mon, 18 Nov 2013 16:22:06 +0100
User-agent: Mutt/1.5.21+34 (58baf7c9f32f) (2010-12-30)

Richard Braun, le Sun 17 Nov 2013 17:13:23 +0100, a écrit :
> Two resources are still recycled: the internal pthread structure
> (because it makes ID allocation easy), and thread local storage (TLS)
> because that's where the reply port is stored, and it didn't seem
> convenient to call _dl_deallocate_tls in sysdeps code.

Just realizing: we *have* to reset TLS, at least by using
_dl_allocate_tls_init, so that newer threads get the initial values for
TLS data.

Samuel



reply via email to

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