autoconf-patches
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: _AS_DETECT_BETTER_SHELL speedup


From: Noah Misch
Subject: Re: _AS_DETECT_BETTER_SHELL speedup
Date: Sat, 29 Jan 2005 06:34:19 -0800
User-agent: Mutt/1.5.6i

On Sat, Jan 29, 2005 at 03:03:53PM +0100, Alexandre Duret-Lutz wrote:
>  Noah> $ strace bash -c '{ exec foo; } 2>/dev/null' 2>&1 | grep clone
> 
> You probably meant
> 
> $ strace bash -c '{ foo; } 2>/dev/null' 2>&1 | grep clone
> clone(child_stack=0, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD, 
> child_tidptr=0xb7f93bc8) = 19138

That is what I meant to test, but as you show I did not actually do so.  Sorry.

It indeed turns out that `bash' and the V7 Bourne shell fork in all three cases,
`ash' and `pdksh' fork only in the first two, and `zsh' forks for none.




reply via email to

[Prev in Thread] Current Thread [Next in Thread]