From: Andreas Schwab <schwab@suse.de>
To: libc-hacker@sources.redhat.com
Subject: TLS_MULTIPLE_THREADS_IN_TCB build fix
Date: Sat, 26 Apr 2003 18:47:00 -0000 [thread overview]
Message-ID: <m3wuhhyu4s.fsf@whitebox.local> (raw)
This fixes building on ppc with TLS.
Andreas.
2003-04-26 Andreas Schwab <schwab@suse.de>
* pthread.c (__pthread_initialize_manager): Fix use of
p_multiple_threads.
--- linuxthreads/pthread.c.~1.124.~ 2003-04-26 18:45:06.000000000 +0200
+++ linuxthreads/pthread.c 2003-04-26 20:32:09.000000000 +0200
@@ -622,7 +622,7 @@ int __pthread_initialize_manager(void)
mgr->p_header.data.self = mgr;
mgr->p_header.data.multiple_threads = 1;
#elif TLS_MULTIPLE_THREADS_IN_TCB
- p_multiple_threads (mgr) = 1;
+ mgr->p_multiple_threads = 1;
#endif
mgr->p_lock = &__pthread_handles[1].h_lock;
# ifndef HAVE___THREAD
next reply other threads:[~2003-04-26 18:47 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2003-04-26 18:47 Andreas Schwab [this message]
2003-04-26 18:53 ` Ulrich Drepper
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=m3wuhhyu4s.fsf@whitebox.local \
--to=schwab@suse.de \
--cc=libc-hacker@sources.redhat.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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).