optimize raise not to make a syscall for getting tid
authorRich Felker <dalias@aerifal.cx>
Sat, 1 Sep 2018 05:46:44 +0000 (01:46 -0400)
committerRich Felker <dalias@aerifal.cx>
Sat, 1 Sep 2018 05:46:44 +0000 (01:46 -0400)
commit0b4c92b7acf63529858e7f8a3bb6505cd2b6e962
treebb0cb0e462edcd13840b6bad2b351788fae1b496
parentcff4b910ab210e5c35f768c75c4562b3ae3e86f2
optimize raise not to make a syscall for getting tid

assuming signals are blocked, which they are here, the tid in the
thread structure is always valid and cannot change out from under us.
src/signal/raise.c