delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2019/08/19/11:21:20

X-Recipient: archive-cygwin AT delorie DOT 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 AT cygwin DOT com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
Delivered-To: mailing list cygwin AT cygwin DOT 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 AT cygwin DOT com>
To: cygwin AT cygwin DOT com
Subject: Re: [ANNOUNCEMENT] TEST: Cygwin 3.1.0-0.2
Message-ID: <20190819152032.GP11632@calimero.vinschen.de>
Reply-To: cygwin AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
References: <announce DOT 20190819103956 DOT GK11632 AT calimero DOT vinschen DOT de> <20190819214907 DOT 05466c00d626590591e30c79 AT nifty DOT ne DOT jp> <20190819140040 DOT GM11632 AT calimero DOT vinschen DOT de> <20190820000345 DOT e8554f7f2516f399b468b2fb AT nifty DOT ne DOT jp>
MIME-Version: 1.0
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--

- Raw text -


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