This is the mail archive of the cygwin-developers mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Can you undo change in sig_dispatch_pending() ?


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]