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 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 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline 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 Precedence: bulk List-Id: List-Unsubscribe: List-Subscribe: List-Archive: List-Post: List-Help: , 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