Optimize sigrelse implementation
commit1ba1d8a44d244110c1f8d768f098ac44351acb76
authorAdhemerval Zanella <adhemerval.zanella@linaro.org>
Mon, 6 Nov 2017 11:31:37 +0000 (6 09:31 -0200)
committerAdhemerval Zanella <adhemerval.zanella@linaro.org>
Wed, 15 Nov 2017 17:45:39 +0000 (15 15:45 -0200)
treecb0d5bb38299dd3755f7496d111bdd00e450e8a4
parentad4f43a2344864ae2304060dcc722a7a63bad1b4
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>
ChangeLog
signal/sigrelse.c