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: Using FIFO's in Cygwin.


Hi Henri,

On Mar  4 18:18, Houder wrote:
> Hi Corinna,
> 
> Just a question ... (and certainly NOT a request for a snapshot at the end of the day).
> 
> Or a confirmation, if you like ...
> 
> A server-client example (using FIFO's) from LPI (Linux Programming Interface, M. Kerrisk), chapter 44.8,
> fails on Cygwin.
> 
> Below the example as an STC, which shows that the server blocks in the 2nd open() call on Cygwin, while
> it does not on Linux.
> 
> I have exercised (modified) the example from LPI a lot, but was UNable to state exactly in what respect
> Cygwin's FIFO is different from Linux's FIFO.
> 
> Q: is the model of the FIFO in Cygwin different from the one used in Linux? Note: the question is about
> the model for FIFO's in blocking mode ...
> 
> Non-blocking complicates things even more ...

FIFOs in Cygwin are using Windows named pipes, and the implementation
was never really complete and never really worked as on Linux,
unfortunately.  The FIFO stuff probably needs a really good kick and
maybe a solution not using those dreaded named pipes.

I'll probably look into that again at one point, it's just that my
TODO list is getting too long already :}


Corinna

-- 
Corinna Vinschen                  Please, send mails regarding Cygwin to
Cygwin Maintainer                 cygwin AT cygwin DOT com
Red Hat

Attachment: pgpwRPJe51b9C.pgp
Description: PGP signature


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