summaryrefslogtreecommitdiff
path: root/src/signal
AgeCommit message (Collapse)AuthorLines
2011-03-10make sigtimedwait a cancellation pointRich Felker-0/+3
2011-03-10don't fail with EINTR in sigtimedwaitRich Felker-6/+6
POSIX allows either behavior, but sigwait is not allowed to fail with EINTR, so the retry loop would have to be in one or the other anyway.
2011-03-10fix sigsuspend syscallRich Felker-1/+1
2011-03-10make sigaltstack work (missing macros in signal.h, error conditions)Rich Felker-1/+11
2011-03-09fix error handling for pthread_sigmaskRich Felker-1/+5
it must return errno, not -1, and should reject invalud values for how.
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-20fix null pointer dereference introduced in last sigprocmask commitRich Felker-1/+1
2011-02-19prevent sigprocmask/pthread_sigmask from blocking implementation signalsRich Felker-3/+5
this code was wrongly disabled because the old version was trying to be too clever and didn't work. replaced it with a simple version for now.
2011-02-15Port musl to x86-64. One giant commit!Nicholas J. Kain-0/+22
2011-02-14header cleanup, conformance fixes - signalsRich Felker-6/+3
2011-02-13fix previous commit that broke sigreturn. looks like the asm is needed.Rich Felker-5/+17
2011-02-13fix omission that kept sa_restorer from being usedRich Felker-1/+1
2011-02-12initial check-in, version 0.5.0v0.5.0Rich Felker-0/+398