[Patch] implementation of nonblocking writes on pipes

Bob Byrnes byrnes@curl.com
Thu Sep 9 18:14:00 GMT 2004

On Sep 9, 10:06am, cgf-no-personal-reply-please@cygwin.com (Christopher Faylor) wrote:
-- Subject: Re: [Patch] implementation of nonblocking writes on pipes
> Before we start adding more patches which are based on your previous work,
> could you reply to some of the problems raised in the cygwin mailing list?

Sure, I'll do that now (I've fallen a few days behind reading that list).

> There was one problem with Windows 95 which Corinna fixed but now there
> is another problem with using rsync, which I thought was one of the
> impetuses for your patch.
-- End of excerpt from Christopher Faylor

The win95 problem was unfortunate ... I don't have a win95 system here
to test.  I'll look more closely at the patch, but I think it is correct.

The rsync problem (I assume you are talking about "rsync + xp sp2 failing")
appears to be unrelated to my patch, because I think the failure is reported
for file desriptors from a socketpair, not a pipe.  I'll try to confirm that.

In each case, I'll send a follow up message to the cygwin mailing list.

It's important to realize that my first patch does not fix all hangs
related to rsync or ssh.  I've identified and fixed at least three
distinct deadlock scenarios, and I'm submitting separate patches for each.


More information about the Cygwin-patches mailing list