aboutsummaryrefslogtreecommitdiff
path: root/nptl/allocatestack.c
diff options
context:
space:
mode:
authorFlorian Weimer <fweimer@redhat.com>2021-05-10 10:31:41 +0200
committerFlorian Weimer <fweimer@redhat.com>2021-05-10 10:31:41 +0200
commit0df5d8d404fbf6a7802737b0f9d32ab3376cec86 (patch)
treee6ff4e79e4be08b092e07a5127254373e42a3231 /nptl/allocatestack.c
parent29d4d1be681fee2fa7cf23205b6d993a3b2a4566 (diff)
downloadglibc-0df5d8d404fbf6a7802737b0f9d32ab3376cec86.zip
glibc-0df5d8d404fbf6a7802737b0f9d32ab3376cec86.tar.gz
glibc-0df5d8d404fbf6a7802737b0f9d32ab3376cec86.tar.bz2
nptl: Eliminate __pthread_multiple_threads
It is no longer needed after the SINGLE_THREADED_P consolidation. Tested-by: Carlos O'Donell <carlos@redhat.com> Reviewed-by: Carlos O'Donell <carlos@redhat.com>
Diffstat (limited to 'nptl/allocatestack.c')
-rw-r--r--nptl/allocatestack.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/nptl/allocatestack.c b/nptl/allocatestack.c
index 0597861..88c49f8 100644
--- a/nptl/allocatestack.c
+++ b/nptl/allocatestack.c
@@ -477,7 +477,7 @@ allocate_stack (const struct pthread_attr *attr, struct pthread **pdp,
/* This is at least the second thread. */
pd->header.multiple_threads = 1;
#ifndef TLS_MULTIPLE_THREADS_IN_TCB
- __pthread_multiple_threads = __libc_multiple_threads = 1;
+ __libc_multiple_threads = 1;
#endif
#ifdef NEED_DL_SYSINFO
@@ -598,7 +598,7 @@ allocate_stack (const struct pthread_attr *attr, struct pthread **pdp,
/* This is at least the second thread. */
pd->header.multiple_threads = 1;
#ifndef TLS_MULTIPLE_THREADS_IN_TCB
- __pthread_multiple_threads = __libc_multiple_threads = 1;
+ __libc_multiple_threads = 1;
#endif
#ifdef NEED_DL_SYSINFO