TLS_MULTIPLE_THREADS_IN_TCB build fix
Andreas Schwab
schwab@suse.de
Sat Apr 26 18:47:00 GMT 2003
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
More information about the Libc-hacker
mailing list