summaryrefslogtreecommitdiff
path: root/src/signal/raise.c
AgeCommit message (Collapse)AuthorLines
2011-03-09fix race condition in raise - just mask signalsRich Felker-9/+9
a signal handler could fork after the pid/tid were read, causing the wrong process to be signalled. i'm not sure if this is supposed to have UB or not, but raise is async-signal-safe, so it probably is allowed. the current solution is slightly expensive so this implementation is likely to be changed in the future.
2011-03-09fix raise semantics with threads.Rich Felker-1/+12
2011-02-12initial check-in, version 0.5.0v0.5.0Rich Felker-0/+7