Re: sigwait() and "sticky" signals (SIGWINCH...) in Cygwin 1.7

2009-08-26 Thread Christopher Faylor
On Wed, Aug 26, 2009 at 08:13:37PM +, Waldemar Rachwal wrote: >I observe strange behavior of sigwait() with SIGWINCH signal (and possibly >others... like SIGCHLD). > >Look at a short program below. In a loop I wait for SIG{INT,WINCH} signals. >SIGWINCH, similarly to SIGCHLD is ignored by defaul

sigwait() and "sticky" signals (SIGWINCH...) in Cygwin 1.7

2009-08-26 Thread Waldemar Rachwal
I observe strange behavior of sigwait() with SIGWINCH signal (and possibly others... like SIGCHLD). Look at a short program below. In a loop I wait for SIG{INT,WINCH} signals. SIGWINCH, similarly to SIGCHLD is ignored by default, so I had to register a dummy signal handler for it. When the progra