This is the mail archive of the cygwin mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [ANNOUNCEMENT] TEST: Cygwin 3.1.0-0.2


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

Attachment: signature.asc
Description: PGP signature


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]