[1.7] sigwait bug (SIGCHLD delayed to a next regular signal)

Christopher Faylor cgf-use-the-mailinglist-please@cygwin.com
Sat Sep 19 14:53:00 GMT 2009


On Sat, Sep 19, 2009 at 10:43:19AM -0400, Christopher Faylor wrote:
>I was explaining the problem to you.  As I said, SIGCHLD is a signal
>like any other signal and if you had tried to use a similar mechanism to
>trap, say, SIGINT, you would have seen the same problem.

...and in fact, you did mask SIGINT in your example but, since you
didn't set a handler for it, sigwait() did detect the signal.

cgf

--
Problem reports:       http://cygwin.com/problems.html
FAQ:                   http://cygwin.com/faq/
Documentation:         http://cygwin.com/docs.html
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple



More information about the Cygwin mailing list