Please sign in to comment.
Assign all watched signals to a dummy no-op disposition
Otherwise some (namely SIGWINCH) may have SIG_DFL = SIG_IGN. This means that the signal is ignored if the signal thread is in the middle of processing another signal (a race condition), and on Solaris it's not delivered at all. Also more consistently consider errors in setup here fatal. And rename CHECK_RESULT to OR_DIE. Reported-by: Benjamin Kaduk <email@example.com> Reviewed-by: Adam Glasgall <firstname.lastname@example.org>
- Loading branch information...