[ANNOUNCEMENT] TEST: Cygwin 3.1.0-0.2

Corinna Vinschen corinna-cygwin@cygwin.com
Mon Aug 19 16:50:00 GMT 2019


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.
> > 
> > If you call procps, which is slower than Cygwin's own ps, you tend
> > to see cat more often in this scenario.
> 
> 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

-- 
Corinna Vinschen
Cygwin Maintainer
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 833 bytes
Desc: not available
URL: <http://cygwin.com/pipermail/cygwin/attachments/20190819/24c2ba7e/attachment.sig>


More information about the Cygwin mailing list