delorie.com/archives/browse.cgi | search |
X-Recipient: | archive-cygwin AT delorie DOT com |
X-Spam-Check-By: | sourceware.org |
Date: | Mon, 22 Dec 2008 13:41:29 -0500 |
From: | Christopher Faylor <cgf-use-the-mailinglist-please AT cygwin DOT com> |
To: | cygwin AT cygwin DOT com |
Subject: | Re: Named pipes (blocking problem) |
Message-ID: | <20081222184129.GA23447@ednor.casa.cgf.cx> |
Reply-To: | cygwin AT cygwin DOT com |
Mail-Followup-To: | cygwin AT cygwin DOT com |
References: | <005b01c96455$6c6bed60$4001a8c0 AT mycomputer> <2ca21dcc0812220903k38b8923v892f508b2ec55620 AT mail DOT gmail DOT com> <20081222172855 DOT GB27364 AT ednor DOT casa DOT cgf DOT cx> <002001c96462$6a46d790$4001a8c0 AT mycomputer> |
MIME-Version: | 1.0 |
In-Reply-To: | <002001c96462$6a46d790$4001a8c0@mycomputer> |
User-Agent: | Mutt/1.5.16 (2007-06-09) |
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 |
Note-from-DJ: | This may be spam |
On Mon, Dec 22, 2008 at 06:23:40PM -0000, John Emmas wrote: > ----- Original Message ----- From: "Christopher Faylor" > Sent: 22 December 2008 17:28 > Subject: Re: Named pipes (blocking problem) >> >> If the OP is creating a pipe using CreateNamedPipe and then trying to >> somehow read it using Cygwin's I/O library then I wouldn't be surprised >> to see strange behavior. Otherwise, Cygwin does not impose any strange >> limitations on CreateNamedPipe. >> > Thanks Christopher. This is really at the heart of what I'm trying to find > out. Does Cygwin implement its own versions of CreateNamedPipe() and > ReadFile() or does it simply link to the standard Windows versions? If it > passes the calls over to Windows then I'm baffled about why I'm observing > different behaviour. Cygwin tries to emulate linux/POSIX. CreateNamedPipe is not a linux/POSIX function. Cygwin does not implement Windows functions. So, no, Cygwin does not implement its own versions of CreateNamedPipe or ReadFile. As I suggested, if you want to build a pure Windows program, you shouldn't be using Cygwin. Use MinGW instead - http://mingw.org/ . -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/
webmaster | delorie software privacy |
Copyright © 2019 by DJ Delorie | Updated Jul 2019 |