X-Recipient: archive-cygwin@delorie.com
DomainKey-Signature: a=rsa-sha1; c=nofws; d=sourceware.org; h=list-id
	:list-unsubscribe:list-subscribe:list-archive:list-post
	:list-help:sender:date:from:to:subject:message-id:reply-to
	:references:mime-version:content-type:in-reply-to; q=dns; s=
	default; b=iB9O+0EzQhGGAAsie/ZDypxLQK8dGMnRrO+LmBRP9dZc6ELKdxrpA
	ZWY6Mc3E3psnvWD0IiYSJhGVgAvfg+gVPmUrbduW8m+sn+I9yjNgODgH1wWWZtCH
	nXO+77F4wVDYKv23vnJTRQ0/4YkifbJrJDYqh8JEEIjggWGrAIDwqo=
DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=sourceware.org; h=list-id
	:list-unsubscribe:list-subscribe:list-archive:list-post
	:list-help:sender:date:from:to:subject:message-id:reply-to
	:references:mime-version:content-type:in-reply-to; s=default;
	 bh=LpPwHiu6MY0biSnUVSfjBzu59uM=; b=fv2OnhN/5l9a847uuagCui1/j1BA
	Ktq/cgoW1zninrUUShPC4uAuOsAoYxGN5NpQq7K67kdj05BofoCxELxwyjabGqhA
	4XJNqb9+txYPjNVyNEzAtFlQX2+TU4oSvDjtQju8isF07IwD9E5Vbt0rk8Js7wEh
	Ie+CxsOxP4rK4xo=
Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Subscribe: <mailto:cygwin-subscribe@cygwin.com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin@cygwin.com>
List-Help: <mailto:cygwin-help@cygwin.com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner@cygwin.com
Mail-Followup-To: cygwin@cygwin.com
Delivered-To: mailing list cygwin@cygwin.com
Authentication-Results: sourceware.org; auth=none
X-Virus-Found: No
X-Spam-SWARE-Status: No, score=-5.9 required=5.0 tests=AWL,BAYES_00 autolearn=ham version=3.3.2
X-HELO: calimero.vinschen.de
Date: Wed, 4 Mar 2015 19:22:32 +0100
From: Corinna Vinschen <corinna-cygwin@cygwin.com>
To: cygwin@cygwin.com
Subject: Re: Using FIFO's in Cygwin.
Message-ID: <20150304182232.GN3213@calimero.vinschen.de>
Reply-To: cygwin@cygwin.com
Mail-Followup-To: cygwin@cygwin.com
References: <9d0083cc54bdc7ef8fe30df584810501.squirrel@webmail.xs4all.nl>
MIME-Version: 1.0
Content-Type: multipart/signed; micalg=pgp-sha1;	protocol="application/pgp-signature"; boundary="m1G908gh+QHqN0Gd"
Content-Disposition: inline
In-Reply-To: <9d0083cc54bdc7ef8fe30df584810501.squirrel@webmail.xs4all.nl>
User-Agent: Mutt/1.5.23 (2014-03-12)

--m1G908gh+QHqN0Gd
Content-Type: text/plain; charset=utf-8
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

Hi Henri,

On Mar  4 18:18, Houder wrote:
> Hi Corinna,
>=20
> Just a question ... (and certainly NOT a request for a snapshot at the en=
d of the day).
>=20
> Or a confirmation, if you like ...
>=20
> A server-client example (using FIFO's) from LPI (Linux Programming Interf=
ace, M. Kerrisk), chapter 44.8,
> fails on Cygwin.
>=20
> Below the example as an STC, which shows that the server blocks in the 2n=
d open() call on Cygwin, while
> it does not on Linux.
>=20
> 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.
>=20
> Q: is the model of the FIFO in Cygwin different from the one used in Linu=
x? Note: the question is about
> the model for FIFO's in blocking mode ...
>=20
> 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

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

--m1G908gh+QHqN0Gd
Content-Type: application/pgp-signature

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2

iQIcBAEBAgAGBQJU901oAAoJEPU2Bp2uRE+g/n0P/RfOH2vlKlgoa6f6107KIA0w
UMdk114/OEPe4X9rARA87MmAMVSRY4bzT3CE8wlvdV0p9rifnah3OY/dc0bo1xZq
FKUh1cOeOA/AU7HrOEScrKEp8k2uBNt8ycKxdvyefLxdNcrWMvcZkYqqueXuF2uR
3koPODEE7tPOCJxjG45+2QPvhRoAcwoLsr1hgImIN0Xcujr2GD8szWbH7raHEb9/
J5swaujpfn4Sa+NhfuYINXc/wOfGMzxqc0qgctk0BxGfcujxe8HfICOrCgUn/zWr
KnlxRjg5l/4q32l/heV8SaTuWoS5PtKQcxmMcaLhxGLtYd3bNI6uYgD0IqFT5db+
Rcl+gEY2i0mQtCXWxsIrxkvI3x03PreOOAtFWKF7TxOWU/8qpw1oaVPsP/acKNOH
0EHixGt1c7F+Z3V1OR1+BnMmzDgv1nntPCFH494YE9mYhjuvzP/DpjWaKG4Zz0g8
Sw6sftgZjVHIes7izytXt0rt5Q19LPnhGdqGcEfsJL/9gnirWHAhRm9r9xzE8ezi
bQnaZGrU+UW0NREO61mQJZCzOboXdPgxWlJOY4K5vk9VSRNXDYwLFRsQ2YyaKWEF
r7Qf7B9cG4ZX/LOqqzTol7xy/uaLRu8I5uDAE98WcjCJczS0NKr5kAlMZXNx4QRm
MBJJFodQPsaYFA18fp50
=Pfq8
-----END PGP SIGNATURE-----

--m1G908gh+QHqN0Gd--
