This is the mail archive of the
cygwin-patches@cygwin.com
mailing list for the Cygwin project.
fix cond_race... was RE: src/winsup/cygwin ChangeLog thread.cc thread.h ...
- To: <cygwin-patches at cygwin dot com>
- Subject: fix cond_race... was RE: src/winsup/cygwin ChangeLog thread.cc thread.h ...
- From: "Robert Collins" <robert dot collins at itdomain dot com dot au>
- Date: Fri, 28 Sep 2001 17:48:16 +1000
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
>
fixrace.patch