about summary refs log tree commit diff
path: root/src/signal/sh
diff options
context:
space:
mode:
authorRich Felker <dalias@aerifal.cx>2014-12-18 20:44:51 -0500
committerRich Felker <dalias@aerifal.cx>2014-12-18 20:44:51 -0500
commit7d3512126db7044525cf402255e0a85ac68dc2e9 (patch)
tree19e673df22f74feaf290bf8437d9df56bba19161 /src/signal/sh
parent0f859fc99325bbb25d506b28565e4a7385ffe0e6 (diff)
downloadmusl-7d3512126db7044525cf402255e0a85ac68dc2e9.tar.gz
musl-7d3512126db7044525cf402255e0a85ac68dc2e9.tar.xz
musl-7d3512126db7044525cf402255e0a85ac68dc2e9.zip
use tkill instead of tgkill in implementing raise
this shaves off a useless syscall for getting the caller's pid and
brings raise into alignment with other functions which were adapted to
use tkill rather than tgkill.

commit 83dc6eb087633abcf5608ad651d3b525ca2ec35e documents the
rationale for this change, and in particular why the tgkill syscall is
useless for its designed purpose of avoiding races.
Diffstat (limited to 'src/signal/sh')
0 files changed, 0 insertions, 0 deletions