This is the mail archive of the
cygwin-patches@cygwin.com
mailing list for the Cygwin project.
RE: More pipe problems (was Re: [Fwd: 1.5.11-1: sftp performance problem])
- From: "Gary R. Van Sickle" <g dot r dot vansickle at worldnet dot att dot net>
- To: <cygwin-patches at cygwin dot com>
- Date: Tue, 5 Oct 2004 22:01:42 -0500
- Subject: RE: More pipe problems (was Re: [Fwd: 1.5.11-1: sftp performance problem])
[snip]
> But there is a strange twist: When a read is pending on an
> empty pipe, then WriteQuotaAvailable is also decremented! I
> can't imagine why this would be the case, but it is easy to
> demonstrate using a pair of small test programs that I wrote
> to experiment with pipe buffering.
>
God. Leave it to Bill. I wonder if WriteQuotaAvailable isn't actually the
counter of the semaphore that gets pended on.
--
Gary R. Van Sickle