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


At 04:21 PM 8/31/2003 -0400, you wrote:
>>>Ok.  I see what you mean but the old code was not actually right either.
>>>I wrote a test case (enclosed) which sent a signal to a process running
>>>a modified version of cygwin1.dll after the call to sigframe
>>>("guaranteed" with the judicious use of Sleep) in sig_dispatch_pending.
>>>The 'ouch' wasn't triggered by the either the old or new cygwin code.
>>>So, I've checked in new code in sig_dispatch_pending.
>>
>>Why would the ouch be triggered? The parent is long dead when
>>the child kills its ppid, which by that time is 1.
>
>`a modified version of cygwin1.dll...  ("guaranteed" with the judicious
>use of Sleep)'
>

Sorry I misunderstood. Exactly where did you add a Sleep?

Pierre


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