This is the mail archive of the cygwin mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Curious behavior of fifo on cygwin 1.7.5


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
>
>

Attachment: consume_fifo_workaround.c
Description: Binary data

--
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

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]