aboutsummaryrefslogtreecommitdiff
path: root/nptl/pthread_kill_other_threads.c
diff options
context:
space:
mode:
authorFlorian Weimer <fweimer@redhat.com>2021-04-22 19:50:16 +0200
committerFlorian Weimer <fweimer@redhat.com>2021-04-22 19:50:16 +0200
commite4f1c0de9c7d3fd2e569551b2619d2eb34fd09c6 (patch)
tree9c589515261575cd6cd984191c215d842a5b6217 /nptl/pthread_kill_other_threads.c
parent7fc9152e831fb24091c0ceabdcecb9b07dd29dd6 (diff)
downloadglibc-e4f1c0de9c7d3fd2e569551b2619d2eb34fd09c6.tar
glibc-e4f1c0de9c7d3fd2e569551b2619d2eb34fd09c6.tar.gz
glibc-e4f1c0de9c7d3fd2e569551b2619d2eb34fd09c6.tar.bz2
glibc-e4f1c0de9c7d3fd2e569551b2619d2eb34fd09c6.zip
nptl: Move pthread_kill_other_threads_np compatibility symbol into libc
And stop including the function for new architectures.
Diffstat (limited to 'nptl/pthread_kill_other_threads.c')
-rw-r--r--nptl/pthread_kill_other_threads.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/nptl/pthread_kill_other_threads.c b/nptl/pthread_kill_other_threads.c
index 44018db50d..0cb336e4f8 100644
--- a/nptl/pthread_kill_other_threads.c
+++ b/nptl/pthread_kill_other_threads.c
@@ -18,8 +18,7 @@
#include <shlib-compat.h>
-
-#ifdef SHARED
+#if OTHER_SHLIB_COMPAT (libpthread, GLIBC_2_0, GLIBC_2_34)
/* This function does not serve a useful purpose in the thread library
implementation anymore. It used to be necessary when then kernel
could not shut down "processes" but this is not the case anymore.