X-Spam-Check-By: sourceware.org
Date: Wed, 26 Apr 2006 19:26:52 -0400
From: Christopher Faylor <cgf-no-personal-reply-please@cygwin.com>
To: cygwin@cygwin.com
Subject: Re: "Ghost" processes on Cygwin
Message-ID: <20060426232652.GB23395@trixie.casa.cgf.cx>
Reply-To: cygwin@cygwin.com
Mail-Followup-To: cygwin@cygwin.com
References: <444FF04F.20109@tibco.com>
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
In-Reply-To: <444FF04F.20109@tibco.com>
User-Agent: Mutt/1.5.11
Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm
Precedence: bulk
List-Unsubscribe: <mailto:cygwin-unsubscribe-archive-cygwin=delorie.com@cygwin.com>
List-Subscribe: <mailto:cygwin-subscribe@cygwin.com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin@cygwin.com>
List-Help: <mailto:cygwin-help@cygwin.com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner@cygwin.com
Mail-Followup-To: cygwin@cygwin.com
Delivered-To: mailing list cygwin@cygwin.com

On Wed, Apr 26, 2006 at 05:12:31PM -0500, mwoehlke wrote:
>I'm seeing something funny. While trying to build a large program on 
>Cygwin using cl.exe (i.e. I am building a non-Cygwin app; just using 
>Cygwin to drive 'make'), every now and then, cl.exe hangs. Before you 
>tell me I'm on the wrong list :-), here's the funny part. If I do 'ps' 
>in Cygwin, I can see the 'cl' process, along with its WINPID. However, 
>it doesn't show up in task manager! Also, there are about five processes 
>that are clearly Cygwin processes (bash.exe or sh.exe) that do NOT show 
>up in Cygwin's 'ps'.
>
>Is there any logic to this that I'm missing?

Yes.  Windows doesn't implement the exec* family of linux system calls
so cygwin has to kludge it.

cgf

--
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/

