diff options
author | Adhemerval Zanella <adhemerval.zanella@linaro.org> | 2017-11-01 11:56:53 -0200 |
---|---|---|
committer | Adhemerval Zanella <adhemerval.zanella@linaro.org> | 2017-11-06 17:37:57 -0200 |
commit | d83da3a4cebcf77e34593b86112dfad332808dae (patch) | |
tree | 625e7c99cd0b38a0c685bc3d7b23631dcbe8db85 /ChangeLog | |
parent | 6a4235f129b75ad9963ae93d9f386b8b366cb65a (diff) | |
download | glibc-d83da3a4cebcf77e34593b86112dfad332808dae.tar.gz glibc-d83da3a4cebcf77e34593b86112dfad332808dae.tar.xz glibc-d83da3a4cebcf77e34593b86112dfad332808dae.zip |
Optimize sighold implementation
This patch simplifies sighold a bit by removing an extra sigprocmask and using SIG_BLOCK (which union of the current set and the set argument). Checked on x86_64-linux-gnu. * signal/sighold.c (sighold): Optimize implementation. Signed-off-by: Adhemerval Zanella <adhemerval.zanella@linaro.org> Reviewed-by: Zack Weinberg <zackw@panix.com>
Diffstat (limited to 'ChangeLog')
-rw-r--r-- | ChangeLog | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/ChangeLog b/ChangeLog index 9861b97e8f..8355074f7f 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,5 +1,7 @@ 2017-11-06 Adhemerval Zanella <adhemerval.zanella@linaro.org> + * signal/sighold.c (sighold): Optimize implementation. + * sysdeps/unix/sysv/linux/sigqueue.c (__sigqueue): Asssume __NR_rt_sigqueueinfo. |