X-Recipient: archive-cygwin@delorie.com
DomainKey-Signature: a=rsa-sha1; c=nofws; d=sourceware.org; h=list-id
	:list-unsubscribe:list-subscribe:list-archive:list-post
	:list-help:sender:to:from:subject:date:message-id:references
	:mime-version:content-type:content-transfer-encoding; q=dns; s=
	default; b=q/GOV2hhvqNNWjisI1qZp262v1E7P9nxsRyWBScehHG7zEWezXGZd
	dQF7XCKYJacrfiSuCJRILGm51mfztm10knsma/YMa3Zw5/sarM5JvyCgJjDBT0Rr
	D67hhWHUyWzMfK6vQfin+ZTl0bl0vPrQCYW4/WpR7DVoigcsyZpOUw=
DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=sourceware.org; h=list-id
	:list-unsubscribe:list-subscribe:list-archive:list-post
	:list-help:sender:to:from:subject:date:message-id:references
	:mime-version:content-type:content-transfer-encoding; s=default;
	 bh=b9gcMZN8d7PswyCMIxr1CvGgslo=; b=GMaJHfWwohuwCb8qqLFZfTzGsnOL
	rU2mcNNWMZFH7TjSXw5l8qgo8vNX6JYN0EN185wgekiZTvoV8d8ktaxeA69/phbT
	VfCi77GgsN1joBQXFhB4wyluH8Fso+e4mNnWRYzm3tU1J7NgQFuzWYZpa0A9V94/
	alf1OBcsKMdFEz8=
Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm
List-Id: <cygwin.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
Authentication-Results: sourceware.org; auth=none
X-Virus-Found: No
X-Spam-SWARE-Status: No, score=-2.0 required=5.0 tests=AWL,BAYES_00,FREEMAIL_FROM,RCVD_IN_DNSWL_NONE,SPF_HELO_PASS,SPF_PASS,T_RP_MATCHES_RCVD autolearn=ham version=3.3.2
X-HELO: plane.gmane.org
To: cygwin@cygwin.com
From: Kurt Franke <Kurt-Franke@web.de>
Subject: Re: About "defunct" processes
Date: Tue, 11 Mar 2014 12:26:45 +0000 (UTC)
Lines: 26
Message-ID: <loom.20140311T132200-453@post.gmane.org>
References: <531D9E82.1050505@alice.it>
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
User-Agent: Loom/3.14 (http://gmane.org/)
X-IsSubscribed: yes

Angelo Graziosi <angelo.graziosi <at> alice.it> writes:


> $ ps
>        PID    PPID    PGID     WINPID   TTY     UID    STIME COMMAND
>       2648       1    2648       2648  ?       1001 12:01:38 /usr/bin/mintty
>       3724    2648    3724       2012  pty0    1001 12:01:38 /usr/bin/bash
>       3176    3724    3176       3832  pty0    1001 12:02:14 /usr/bin/ps
>       1904    2648    2648       1760  ?       1001 12:01:41 
> /usr/bin/mintty <defunct>
> 
> Why that "defunct" process? I don't remember having seen that before on 
> my old Cygwin32 installation.

Hi,

it looks like the cygwin process handling becomes more unix like :-)

in unix exach process has an entry in the process list unless its parent
has do a wait call on it to get the information abouit process termination.

if the parent process teminates the init process will become the new parent
and will do this wait if not already done





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

