~vcs-imports/glibc/master

Viewing all changes in revision 28002.

  • Committer: Adhemerval Zanella
  • Date: 2017-11-15 17:45:39 UTC
  • Revision ID: git-v1:1ba1d8a44d244110c1f8d768f098ac44351acb76
Optimize sigrelse 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>

expand all expand all

Show diffs side-by-side

added added

removed removed

Lines of Context: