Using FIFO's in Cygwin.
Corinna Vinschen
corinna-cygwin@cygwin.com
Wed Mar 4 18:27:00 GMT 2015
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
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 819 bytes
Desc: not available
URL: <http://cygwin.com/pipermail/cygwin/attachments/20150304/33431f43/attachment.sig>
More information about the Cygwin
mailing list