delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2001/03/01/18:58:48

Mailing-List: contact cygwin-help AT sourceware DOT cygnus DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe AT sources DOT redhat DOT com>
List-Archive: <http://sources.redhat.com/ml/cygwin/>
List-Post: <mailto:cygwin AT sources DOT redhat DOT com>
List-Help: <mailto:cygwin-help AT sources DOT redhat DOT com>, <http://sources.redhat.com/ml/#faqs>
Sender: cygwin-owner AT sources DOT redhat DOT com
Delivered-To: mailing list cygwin AT sources DOT redhat DOT com
Date: Thu, 1 Mar 2001 18:56:57 -0500
From: Christopher Faylor <cgf AT redhat DOT com>
To: cygwin AT cygwin DOT com
Subject: Re: spawn hangs for non-Cygwin programs
Message-ID: <20010301185657.G4575@redhat.com>
Reply-To: cygwin AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
References: <3A9EDD0A DOT C576B2F1 AT tensilica DOT com>
Mime-Version: 1.0
User-Agent: Mutt/1.3.11i
In-Reply-To: <3A9EDD0A.C576B2F1@tensilica.com>; from bwilson@tensilica.com on Thu, Mar 01, 2001 at 03:36:42PM -0800

On Thu, Mar 01, 2001 at 03:36:42PM -0800, Bob Wilson wrote:
>This seems like a weakness in Cygwin.  Well, OK, so it's fine as long as
>you don't try to get Cygwin apps to work nicely with native Win32 apps,
>but still, it seems like a weakness.  There ought to be a way to spawn a
>non-Cygwin executable with _P_NOWAIT.

There is no need to editorialize.

>Here is my attempt at a solution.  I simply added a _P_NONCYGWIN_CHILD
>flag that can be ORed with _P_NOWAIT, and I modified spawn_guts() to
>skip the synchronization when this flag is set.  I suspect that this new
>flag will not work in combination with _P_OVERLAY, but I don't
>understand that part of the code well enough to know how to test it.
>
>Please let me know if you come up with a different solution.  I'd prefer
>not to have to use a patched Cygwin DLL forever....

I guess this is one solution.  I'm not sure that it is the best one.  I'd
rather have Cygwin work correctly.

Bwt, could you check out the Contributing link at the cygwin.com site?  This
provides guidelines for patch submission.

I appreciate very much that you took the time to come up with a patch.  I
just am not 100% sure that it is the correct solution.

cgf

--
Want to unsubscribe from this list?
Check out: http://cygwin.com/ml/#unsubscribe-simple

- Raw text -


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