Well this patch should make evreything good -  fixing the critical
section induced race.

Going out now, this is being sent in for feedback and testing. I will
craft changelog etc from home in about 6-12 hours.

Rob

> -----Original Message-----
> From: Christopher Faylor [mailto:[EMAIL PROTECTED]]
> Sent: Friday, September 28, 2001 5:27 PM
> To: [EMAIL PROTECTED]
> Subject: Re: src/winsup/cygwin ChangeLog thread.cc thread.h ...
> 
> 
> On Fri, Sep 28, 2001 at 11:05:34AM +0400, egor duda wrote:
> >Hi!
> >
> >Friday, 28 September, 2001 Christopher Faylor [EMAIL PROTECTED] wrote:
> >
> >>>  320 12080627 [main] ssh 7436 peek_pipe: /dev/piper, saw EOF
> >>>  261 12080888 [main] ssh 7436 peek_pipe: saw eof on '/dev/piper'
> >>>  238 12081126 [main] ssh 7436 
> fhandler_pipe::ready_for_read: returning 1
> >
> >CF> As usual, I can't duplicate this problem.  I did see one 
> oddity in some of the new
> >CF> code that I added.  I'll check in a patch for that shortly.
> >
> >Your last checkin fixed both cvs+ssh and testsuite's kill02 (it was
> >blocking on pipe read too) problems for me. Thanks!
> 
> Phew.  I am now noticing a SEGV in zsh when it tries to run 
> perl, though.
> 
> Could that be due to pthread_mutex problems in passwd.cc and grp.cc?
> 
> cgf
> 

Attachment: fixrace.patch
Description: fixrace.patch

Reply via email to