This is the mail archive of the
libc-alpha@sources.redhat.com
mailing list for the glibc project.
Re: [PATCH] linuxthreads.manager.c compile failure
- From: Jakub Jelinek <jakub at redhat dot com>
- To: sjmunroe at vnet dot ibm dot com
- Cc: libc-alpha <libc-alpha at sources dot redhat dot com>
- Date: Mon, 11 Aug 2003 21:09:47 +0200
- Subject: Re: [PATCH] linuxthreads.manager.c compile failure
- References: <3F37EE34.F0BDBB19@us.ibm.com>
- Reply-to: Jakub Jelinek <jakub at redhat dot com>
On Mon, Aug 11, 2003 at 02:27:48PM -0500, Steven Munroe wrote:
> #if !(USE_TLS && HAVE___THREAD)
> /* Initialize thread-locale current locale to point to the global one.
> With __thread support, the variable's initializer takes care of this. */
> __uselocale (LC_GLOBAL_LOCALE);
> #else
> /* Initialize __resp. */
> - __resp = &self->p_resp;
> + __resp = &self->p_res;
> #endif
>
> I believe this effects all platform builds of linuxthreads with TLS enabled.
>
> 2003-08-11 Steven Munroe <sjmunroe@us.ibm.com>
>
> * manager.c (pthread_start_thread) [!(USE_TLS && HAVE___THREAD)]:
> Correct spelling of per thread resolver state.
Yeah, that was the intent. I usually don't test
--with-tls --with-__thread --enable-add-ons=linuxthreads.
Jakub