* [PATCH] Fix linuxthreads libpthread.a
@ 2002-10-22 6:56 Jakub Jelinek
2002-10-22 18:42 ` Roland McGrath
0 siblings, 1 reply; 2+ messages in thread
From: Jakub Jelinek @ 2002-10-22 6:56 UTC (permalink / raw)
To: Roland McGrath, Ulrich Drepper; +Cc: Glibc hackers
Hi!
This change was done for pthread.c (__pthread_initialize_minimal) only.
2002-10-22 Jakub Jelinek <jakub@redhat.com>
* manager.c (pthread_start_thread): Call __uselocale even
if [! SHARED]. Patch by Leon Kanter <leon@geon.donetsk.ua>.
--- libc/linuxthreads/manager.c.jj 2002-10-10 14:01:49.000000000 +0200
+++ libc/linuxthreads/manager.c 2002-10-22 15:57:13.000000000 +0200
@@ -283,7 +283,7 @@ pthread_start_thread(void *arg)
__sched_setscheduler(THREAD_GETMEM(self, p_pid),
SCHED_OTHER, &default_params);
}
-#if !(USE_TLS && HAVE___THREAD) && defined SHARED
+#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);
Jakub
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: [PATCH] Fix linuxthreads libpthread.a
2002-10-22 6:56 [PATCH] Fix linuxthreads libpthread.a Jakub Jelinek
@ 2002-10-22 18:42 ` Roland McGrath
0 siblings, 0 replies; 2+ messages in thread
From: Roland McGrath @ 2002-10-22 18:42 UTC (permalink / raw)
To: Jakub Jelinek; +Cc: Ulrich Drepper, Glibc hackers
Oops! I forgot that one when I made it work. Thanks.
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2002-10-22 16:08 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2002-10-22 6:56 [PATCH] Fix linuxthreads libpthread.a Jakub Jelinek
2002-10-22 18:42 ` Roland McGrath
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).