diff options
author | Adhemerval Zanella <adhemerval.zanella@linaro.org> | 2021-05-24 18:56:59 -0300 |
---|---|---|
committer | Adhemerval Zanella <adhemerval.zanella@linaro.org> | 2021-06-09 15:16:45 -0300 |
commit | 41c72956179a8ed730d1ac8198015934398fe72b (patch) | |
tree | 16d4a48d236019c432431ba93de0c33856b5b80e /nptl/pthreadP.h | |
parent | 02189e8fb00c3c7f4e67476e21011a22c5dee707 (diff) | |
download | glibc-41c72956179a8ed730d1ac8198015934398fe72b.tar.gz glibc-41c72956179a8ed730d1ac8198015934398fe72b.tar.xz glibc-41c72956179a8ed730d1ac8198015934398fe72b.zip |
nptl: Install cancellation handler on pthread_cancel
Now that cancellation is not used anymore to handle thread setup creation failure, the sighandle can be installed only when pthread_cancel is actually used. Checked on x86_64-linux-gnu and aarch64-linux-gnu.
Diffstat (limited to 'nptl/pthreadP.h')
-rw-r--r-- | nptl/pthreadP.h | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/nptl/pthreadP.h b/nptl/pthreadP.h index 05f2bae521..48d48e7008 100644 --- a/nptl/pthreadP.h +++ b/nptl/pthreadP.h @@ -569,12 +569,6 @@ libc_hidden_proto (__pthread_attr_setsigmask_internal) extern __typeof (pthread_attr_getsigmask_np) __pthread_attr_getsigmask_np; libc_hidden_proto (__pthread_attr_getsigmask_np) -/* The cancellation signal handler defined alongside with - pthread_cancel. This is included in statically linked binaries - only if pthread_cancel is linked in. */ -void __nptl_sigcancel_handler (int sig, siginfo_t *si, void *ctx); -libc_hidden_proto (__nptl_sigcancel_handler) - /* Special versions which use non-exported functions. */ extern void __pthread_cleanup_push (struct _pthread_cleanup_buffer *buffer, void (*routine) (void *), void *arg); |