delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2011/04/20/11:23:30

X-Recipient: archive-cygwin AT delorie DOT com
X-SWARE-Spam-Status: No, hits=-1.6 required=5.0 tests=AWL,BAYES_00,RCVD_IN_DNSWL_NONE,UNPARSEABLE_RELAY
X-Spam-Check-By: sourceware.org
X-Yahoo-SMTP: jenXL62swBAWhMTL3wnej93oaS0ClBQOAKs8jbEbx_o-
Date: Wed, 20 Apr 2011 11:23:07 -0400
From: Christopher Faylor <cgf-use-the-mailinglist-please AT cygwin DOT com>
To: cygwin AT cygwin DOT com
Subject: Re: named pipe (fifo) question
Message-ID: <20110420152307.GD453@ednor.casa.cgf.cx>
Reply-To: cygwin AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
References: <201104200948 DOT 11376 DOT icanprogram AT 295 DOT ca>
MIME-Version: 1.0
In-Reply-To: <201104200948.11376.icanprogram@295.ca>
User-Agent: Mutt/1.5.20 (2009-06-14)
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Unsubscribe: <mailto:cygwin-unsubscribe-archive-cygwin=delorie DOT com AT cygwin DOT com>
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
Delivered-To: mailing list cygwin AT cygwin DOT com

On Wed, Apr 20, 2011 at 09:48:09AM -0400, bob 295 wrote:
>(I'm on the list in digest mode so things can't thread easily)
>
>On Tue, Apr 19, 2011 at 11:01:55AM -0400, bob 295 wrote:
>>>I'm porting a library from Linux to Cygwin and I've encountered a problem 
>with 
>>>the behavior of named pipes (fifo's).
>>>...
>>>Is this the intended POSIX behavior?   Is the problem the RDWR open? 
>
>>The problem is that Cygwin's implementation of fifos is very buggy.  I 
>wouldn't
>>recommend using them for anything but the simplest of applications.
>
>Here is some sample code I've been playing with which produces clean results 
>on Linux but totally wonky results on Cygwin.

The problem is that Cygwin's implementation of fifos is very buggy.  I
wouldn't recommend using fifos for anything but the simplest of
applications.

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

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019