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