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-ple...@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 > >
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