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:date:from:to:subject:message-id:reply-to
	:references:mime-version:content-type:in-reply-to; q=dns; s=
	default; b=um6iXJudy9ud7kf9JdnSyF3vd1UhiZuPkzH5KEen+fXMxOhhzWE+p
	35mT1RhuANVOY+GR2bpF4fSfEx+M28BHM7xNCuTh8hcP7W+fNLv3thElX/Bg0iny
	xBdMZuacs0cJLiz/7KlIEAdGc7djidWWvjIIvvqWs00zOFSOayes/0=
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:date:from:to:subject:message-id:reply-to
	:references:mime-version:content-type:in-reply-to; s=default;
	 bh=/hkz/MqUXXqZHOlMD+1PU7PFbow=; b=uW7Axnvv//7VbIBnBuxtR6UREGnx
	+QR8BAGv8US4fl6Y5QKxID/e5hetQgniIMTX0mdE/VQQ98X8wfpGyqKXbPcAntNF
	MpCp7QmexBtTrG8HRDv7eKugQeBmXf1UtV4RlcZIP2iWRk2Ujp3zV/4I4QxnwMiE
	nwJDG5hB+n1zFsM=
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-Spam-SWARE-Status: No, score=-101.5 required=5.0 tests=AWL,BAYES_00,GOOD_FROM_CORINNA_CYGWIN,KAM_NUMSUBJECT,RCVD_IN_DNSWL_NONE autolearn=ham version=3.3.1 spammy=H*F:D*cygwin.com
X-HELO: mout.kundenserver.de
Date: Mon, 19 Aug 2019 17:20:32 +0200
From: Corinna Vinschen <corinna-cygwin@cygwin.com>
To: cygwin@cygwin.com
Subject: Re: [ANNOUNCEMENT] TEST: Cygwin 3.1.0-0.2
Message-ID: <20190819152032.GP11632@calimero.vinschen.de>
Reply-To: cygwin@cygwin.com
Mail-Followup-To: cygwin@cygwin.com
References: <announce.20190819103956.GK11632@calimero.vinschen.de> <20190819214907.05466c00d626590591e30c79@nifty.ne.jp> <20190819140040.GM11632@calimero.vinschen.de> <20190820000345.e8554f7f2516f399b468b2fb@nifty.ne.jp>
MIME-Version: 1.0
Content-Type: multipart/signed; micalg=pgp-sha256;	protocol="application/pgp-signature"; boundary="PXvue2YBBX9xEiHS"
Content-Disposition: inline
In-Reply-To: <20190820000345.e8554f7f2516f399b468b2fb@nifty.ne.jp>
User-Agent: Mutt/1.11.3 (2019-02-01)

--PXvue2YBBX9xEiHS
Content-Type: text/plain; charset=utf-8
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

On Aug 20 00:03, Takashi Yano wrote:
> On Mon, 19 Aug 2019 16:00:40 +0200
> Corinna Vinschen wrote:
> > As far as I can tell this is not a bug.  I added debug output and found
> > that ps grabs the process list *before* bash execve's into cat.  So at
> > the time ps gets the process list, process 1942 in your example is
> > actually still bash.
> >=20
> > If you call procps, which is slower than Cygwin's own ps, you tend
> > to see cat more often in this scenario.
>=20
> Sounds reasonable. I wonder why this does not occur in linux...

It's way faster?  Consider that in Cygwin the "task switch" is
not performed by the OS, but basically by exec'ing and exec'd
process.


Corinna

--=20
Corinna Vinschen
Cygwin Maintainer

--PXvue2YBBX9xEiHS
Content-Type: application/pgp-signature; name="signature.asc"

-----BEGIN PGP SIGNATURE-----

iQIzBAEBCAAdFiEEoVYPmneWZnwT6kwF9TYGna5ET6AFAl1avj8ACgkQ9TYGna5E
T6A3Rw/+IPudWOrzkMXb0pCpJ/A2yBbzxzeaKf6mhA/BCH9iuCRCw0MpqPbZMZMC
6r19oC/fZffnocDOd+W5GJkTg7yJ7XfcZ+y4mSXbgfajeBhQiYmcr8qTWbgcxhAW
f6M6QylyKFb1bjj8SysS5gEdQiXJBNuAYawAaYt/hEarIJPaTC17R1cH3YmqgRlg
2yBbvrct5J88bfIVRgTQnp2mK52IgxS37vGwuk7DP7fOVZkubcLt+imnFDQpPj/s
K600vntJsjiEgooxQfkwvE+iTLdFNEEDXzRcgtOI7ug4Pk218y9JEwg5sCCd8t8+
XrB/hyMmYfRZGzjC2QkqVN+GYERrcUiP/l4jH46skOcgqlt8xZIWJvibPObzCRlc
yQF219Dn5rgiEK71xu3C5KsNq4a3ELbuL/w2fUOwrDiO5EyUbbWnB58lpVqRwfGp
NbIiIDpCqymFzh76olUhxy7g/+OLPSE5q0G9LmgQ1BI7Vff+qmHjWOQOo0QalLuu
FhOGwNH/XT9yk4uFr7nYFSv5WYVb7Jq6Whk7rVDyFWPsmiJj1T1hmkd4gB3eDB7r
wX61QudSI+SRgHOCfOYdr3w0GvvDOWdsbRE0559wR0Lp6mU5b8kKg33hx2Fgamc3
QPVvv4fVC6LE5+exo4wyLh0h9zqYgAza6IfLP2/QZeRL6I0FkcI=
=OGC+
-----END PGP SIGNATURE-----

--PXvue2YBBX9xEiHS--
