reduced rt_sig* syscalls. use flags instead ot local $SIG{}
simplify the prev. commit
Merge branch 'kazuho/pr/9' (reduce rt_sig* syscalls)
releng for 0.17_01