[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