This is the mail archive of the
cygwin-patches@cygwin.com
mailing list for the Cygwin project.
Re: Signal handling tune up.
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