Can you undo change in sig_dispatch_pending() ?

Christopher Faylor cgf-use-the-mailinglist-please@cygwin.com
Wed Oct 31 22:32:00 GMT 2007


On Wed, Oct 31, 2007 at 04:28:19PM -0500, Brian Ford wrote:
>On Wed, 31 Oct 2007, Christopher Faylor wrote:
>>If the intent of the test is to deal with signals that are pending and
>>a signal is pending but not yet in the linked list that would indicate
>>that there is a race.
>
>I think I see your point now.  I will go analyze the cases and report
>back when I have a clear understanding of this part of the issue.
>Thank you for the explanation.
>
>>If the sigq.next test can't do a perfect job then it would sort of
>>stand to reason that the test may not actually be necessary at all.
>>
>>I mean how many times
>>
>>if (!sigq.next) return;
>>
>>/* this code */
>>
>>is executed.
>
>That may be interesting, but a full analysis is probably needed rather
>than relying on statistics ;-).  I hope to elaborate the conditions so
>we can all understand.  Thanks again.

I'm not asking for anything other than the statistics.

cgf



More information about the Cygwin-developers mailing list