Curious behavior of fifo on cygwin 1.7.5

Etienne Carriere etienne.carriere@gmail.com
Thu Aug 19 05:42:00 GMT 2010


Hi,

Thanks for your answer . In order to have the standard behavior, I
open/close the filedescriptor before/after each read as in the
attached code and it seems to work

Regards,

Etienne Carrière

2010/8/17 Christopher Faylor <cgf-use-the-mailinglist-please@cygwin.com>:
> On Tue, Aug 17, 2010 at 07:25:25PM +0200, Etienne Carriere wrote:
>>Hello,
>>
>>I currently have a curious behavior with fifo (named pipes on cygwin
>>1.7.5) . I first discovered when using Nagios on cygwin but I achieved
>>to simplify it . The scenario is the following :
>
> If you search the mailing list archives, you'll see a fair number of
> problems with fifos and you'll also see my acknowledgement of same.
>
> fifos in Cygwin are a work-in-progress and are not guaranteed to work
> like their linux counterparts.
>
> I do poke at them from time to time but, for now, you'll have to
> consider them to be "as-is".  That means that some things are broken.
>
> cgf
>
> --
> Problem reports:       http://cygwin.com/problems.html
> FAQ:                   http://cygwin.com/faq/
> Documentation:         http://cygwin.com/docs.html
> Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
>
>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: consume_fifo_workaround.c
Type: application/octet-stream
Size: 337 bytes
Desc: not available
URL: <http://cygwin.com/pipermail/cygwin/attachments/20100819/d0fbeaa9/attachment.obj>
-------------- next part --------------
--
Problem reports:       http://cygwin.com/problems.html
FAQ:                   http://cygwin.com/faq/
Documentation:         http://cygwin.com/docs.html
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple


More information about the Cygwin mailing list