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 83dc6eb0 documents the rationale for this change, and in particular why the tgkill syscall is useless for its designed purpose of avoiding races.
Showing
想要评论请 注册 或 登录