diff options
author | Florian Weimer <fweimer@redhat.com> | 2021-05-10 10:31:41 +0200 |
---|---|---|
committer | Florian Weimer <fweimer@redhat.com> | 2021-05-10 10:31:41 +0200 |
commit | 0df5d8d404fbf6a7802737b0f9d32ab3376cec86 (patch) | |
tree | e6ff4e79e4be08b092e07a5127254373e42a3231 /nptl/vars.c | |
parent | 29d4d1be681fee2fa7cf23205b6d993a3b2a4566 (diff) | |
download | glibc-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/vars.c')
-rw-r--r-- | nptl/vars.c | 7 |
1 files changed, 0 insertions, 7 deletions
diff --git a/nptl/vars.c b/nptl/vars.c index 8de3085..03a6cc8 100644 --- a/nptl/vars.c +++ b/nptl/vars.c @@ -26,10 +26,3 @@ union pthread_attr_transparent __default_pthread_attr attribute_hidden; /* Mutex protecting __default_pthread_attr. */ int __default_pthread_attr_lock = LLL_LOCK_INITIALIZER; - -#ifndef TLS_MULTIPLE_THREADS_IN_TCB -/* Variable set to a nonzero value either if more than one thread runs or ran, - or if a single-threaded process is trying to cancel itself. See - nptl/descr.h for more context on the single-threaded process case. */ -int __pthread_multiple_threads attribute_hidden; -#endif |