Signal handling tune up.

Pierre A. Humblet Pierre.Humblet@ieee.org
Tue Aug 19 02:51:00 GMT 2003


At 09:05 PM 8/18/2003 -0400, Christopher Faylor wrote:
>Nevermind.  It doesn't work the way I remembered.  The while loop which
>decrements sigtodo only executes once when it encounters a normal UNIX
>signal (it probably should just be recoded as an if).  So, this should
>be a non-issue.  In fact, I don't see how multiple signals coming in at
>the same time would have the effect you mentioned either.
>
I don't understand. The sigtodo of a signal is decremented once
but the code immediately continues in the for loop for the next signal.
Two signals can be processed during a cycle of the outside for (;;) and
they will have the same rc.

Pierre




More information about the Cygwin-patches mailing list