delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin-developers/2001/03/30/10:59:34

Mailing-List: contact cygwin-developers-help AT sourceware DOT cygnus DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-developers-subscribe AT sources DOT redhat DOT com>
List-Archive: <http://sources.redhat.com/ml/cygwin-developers/>
List-Post: <mailto:cygwin-developers AT sources DOT redhat DOT com>
List-Help: <mailto:cygwin-developers-help AT sources DOT redhat DOT com>, <http://sources.redhat.com/ml/#faqs>
Sender: cygwin-developers-owner AT sources DOT redhat DOT com
Delivered-To: mailing list cygwin-developers AT sources DOT redhat DOT com
Date: Fri, 30 Mar 2001 10:44:45 -0500
From: Christopher Faylor <cgf AT redhat DOT com>
To: egor duda <cygwin-developers AT cygwin DOT com>
Subject: Re: signals and fhandlers
Message-ID: <20010330104445.C12718@redhat.com>
Reply-To: cygwin-developers AT cygwin DOT com
Mail-Followup-To: egor duda <cygwin-developers AT cygwin DOT com>
References: <021801c0b8d8$67a70660$0200a8c0 AT lifelesswks> <12075047372 DOT 20010330102931 AT logos-m DOT ru> <028201c0b8ea$5c6efed0$0200a8c0 AT lifelesswks>
Mime-Version: 1.0
User-Agent: Mutt/1.3.11i
In-Reply-To: <028201c0b8ea$5c6efed0$0200a8c0@lifelesswks>; from robert.collins@itdomain.com.au on Fri, Mar 30, 2001 at 04:48:23PM +1000

On Fri, Mar 30, 2001 at 04:48:23PM +1000, Robert Collins wrote:
>Chris's comment on inherited handles was that non-cygwin applications
>don't know what to do _anyway_ with inherited handles. (Chris: maybe I
>got this wrong? ). Anyway the worst case is that the writers will not
>know that the readers have all died and won't return EPIPE. This can
>happen with things are killed via task manager anyway. (That's why
>there's a warning!).

That's the worst case that Egor was mentioning.  If we can develop
a scenario that allows the right thing to happen when a program takes
a non-standard exit then we should pursue this at all costs.  I have
always tried to do this in all of my cygwin development.  I have, so
far, avoided relying on cygwin cleanups for proper operations.

>Also, the pipes will have to be in the cygwin shared memory area, and
>Chris indicated he didn't want any more data in there (I was going to
>try anon pipes, when I posted my question and got that answer)..

I just said that you shouldn't use the existing shared memory areas.  You
can create your own small shared memory areas.

cgf

- Raw text -


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