diff options
author | Florian Weimer <fweimer@redhat.com> | 2021-05-21 22:35:00 +0200 |
---|---|---|
committer | Florian Weimer <fweimer@redhat.com> | 2021-05-21 22:35:00 +0200 |
commit | 2f69522d460611b1018e15df6c238dda2d8d6609 (patch) | |
tree | 1e7a59afe9de337ad58dfdebab4502794db51732 /sysdeps | |
parent | 06a36b70f946548d7bc5bc1b163d1ecf877da071 (diff) | |
download | glibc-2f69522d460611b1018e15df6c238dda2d8d6609.zip glibc-2f69522d460611b1018e15df6c238dda2d8d6609.tar.gz glibc-2f69522d460611b1018e15df6c238dda2d8d6609.tar.bz2 |
nptl: Perform signal initialization upon pthread_create
Install signal handlers and unblock signals before pthread_create
creates the first thread.
create_thread in sysdeps/unix/sysv/linux/createthread.c can send
SIGCANCEL to the current thread, so the SIGCANCEL handler is currently
needed even if pthread_cancel is never called. (The way timer_create
uses SIGCANCEL does not need a signal handler; both SIG_DFL and SIG_IGN
dispositions should work.)
Reviewed-by: Adhemerval Zanella <adhemerval.zanella@linaro.org>
Diffstat (limited to 'sysdeps')
0 files changed, 0 insertions, 0 deletions