This is the mail archive of the
mailing list for the Cygwin project.
Re: select() and named pipes
- From: Christopher Faylor <cgf-use-the-mailinglist-please at cygwin dot com>
- To: cygwin at cygwin dot com
- Date: Mon, 15 Feb 2010 22:16:55 -0500
- Subject: Re: select() and named pipes
- References: <20091222224309.GA3504@GIOVE> <20091223003714.GA4491@ednor.casa.cgf.cx> <20091223021219.GA5836@GIOVE> <20100103165846.GA3284@GIOVE> <20100103191121.GA17057@ednor.casa.cgf.cx> <20100215015427.GB5207@ednor.casa.cgf.cx> <20100216012055.GA7936@GIOVE>
- Reply-to: cygwin at cygwin dot com
On Tue, Feb 16, 2010 at 02:20:55AM +0100, Enrico Forestieri wrote:
>On Sun, Feb 14, 2010 at 08:54:27PM -0500, Christopher Faylor wrote:
>> I just checked in YA in my series of attempts to get this working right.
>> It will behave marginally better now but there are still problems if you
>> attempt to write to a fifo before anything is reading it and then try to
>> do a non-blocking read.
>Thank you for your efforts. It indeed works better with the 2010-02-15
>In order to help you pinpointing another glitch, I attach here a slightly
>slightly modified version of the original test case and a shell script.
>Launching the program in a terminal and then the shell script in another
>one, it seems that the program hangs on the write() call.
>Apparently, the problem is the O_RDWR flag, as replacing it with O_WRONLY,
>everything works. The test case works with O_RDWR both in cygwin 1.5 and
Yes, non-blocking writes are not working. They never really were, in fact.
Problem reports: http://cygwin.com/problems.html
Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple