about summary refs log tree commit diff
path: root/src/signal
Commit message (Collapse)AuthorAgeFilesLines
...
* make sigtimedwait a cancellation pointRich Felker2011-03-101-0/+3
|
* don't fail with EINTR in sigtimedwaitRich Felker2011-03-101-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.
* fix sigsuspend syscallRich Felker2011-03-101-1/+1
|
* make sigaltstack work (missing macros in signal.h, error conditions)Rich Felker2011-03-101-1/+11
|
* fix error handling for pthread_sigmaskRich Felker2011-03-091-1/+5
| | | | it must return errno, not -1, and should reject invalud values for how.
* fix race condition in raise - just mask signalsRich Felker2011-03-091-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.
* fix raise semantics with threads.Rich Felker2011-03-091-1/+12
|
* fix null pointer dereference introduced in last sigprocmask commitRich Felker2011-02-201-1/+1
|
* prevent sigprocmask/pthread_sigmask from blocking implementation signalsRich Felker2011-02-191-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.
* Port musl to x86-64. One giant commit!Nicholas J. Kain2011-02-152-0/+22
|
* header cleanup, conformance fixes - signalsRich Felker2011-02-142-6/+3
|
* fix previous commit that broke sigreturn. looks like the asm is needed.Rich Felker2011-02-133-5/+17
|
* fix omission that kept sa_restorer from being usedRich Felker2011-02-131-1/+1
|
* initial check-in, version 0.5.0 v0.5.0Rich Felker2011-02-1232-0/+398