fix cond_race... was RE: src/winsup/cygwin ChangeLog thread.cc thread.h ...
Fri Sep 28 00:52:00 GMT 2001
BTW: this patch is additiive to the earlier fix for the rentrancy
problem with pthread_mutex_lock - apply them both.
> -----Original Message-----
> From: Robert Collins
> Sent: Friday, September 28, 2001 5:48 PM
> To: firstname.lastname@example.org
> Subject: fix cond_race... was RE: src/winsup/cygwin ChangeLog
> thread.h ...
> 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.
> > -----Original Message-----
> > From: Christopher Faylor [ mailto:email@example.com ]
> > Sent: Friday, September 28, 2001 5:27 PM
> > To: firstname.lastname@example.org
> > 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@example.com 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
More information about the Cygwin-patches