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]

RE: fix cond_race... was RE: src/winsup/cygwin ChangeLog thread.cc thread.h ...


BTW: this patch is additiive to the earlier fix for the rentrancy
problem with pthread_mutex_lock - apply them both.

Rob

> -----Original Message-----
> From: Robert Collins 
> Sent: Friday, September 28, 2001 5:48 PM
> To: cygwin-patches@cygwin.com
> Subject: fix cond_race... was RE: src/winsup/cygwin ChangeLog 
> thread.cc
> 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.
> 
> Rob
> 
> > -----Original Message-----
> > From: Christopher Faylor [mailto:cgf@redhat.com]
> > Sent: Friday, September 28, 2001 5:27 PM
> > To: cygwin-patches@cygwin.com
> > 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 cgf@redhat.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
> > 
> 


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