]> git.ipfire.org Git - thirdparty/glibc.git/commit
htl: Make __pthread_sigmask directly call __sigthreadmask
authorSamuel Thibault <samuel.thibault@ens-lyon.org>
Wed, 5 Mar 2025 23:14:06 +0000 (00:14 +0100)
committerSamuel Thibault <samuel.thibault@ens-lyon.org>
Thu, 6 Mar 2025 01:28:35 +0000 (02:28 +0100)
commit81c4ec1ca8c5c4030c1784a098091b6308f98595
treeabd3f3290400711176afb39e936451ef99c4073d
parent7a185eb9e944553fb5f8ce8491e1f8569f2f4aa0
htl: Make __pthread_sigmask directly call __sigthreadmask

If no thread was created yet, __pthread_sigstate will not find our ss
because self->kernel_thread is still nul, and then change the global
sigstate instead of our sigstate! We can directly call __sigthreadmask and
skip the (bogus) lookup step.
htl/pt-sigmask.c
sysdeps/mach/hurd/sigthreadmask.c