This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: Need some Unix and /bin/sh expertise for GCC testsuite
- From: Dave Korn <dave dot korn dot cygwin at googlemail dot com>
- To: Laurent GUERBY <laurent at guerby dot net>
- Cc: gcc <gcc at gcc dot gnu dot org>, Paolo Bonzini <bonzini at gnu dot org>, Arnaud Charlet <charlet at adacore dot com>, Eric Botcazou <ebotcazou at adacore dot com>
- Date: Fri, 14 Aug 2009 22:19:42 +0100
- Subject: Re: Need some Unix and /bin/sh expertise for GCC testsuite
- References: <1250283155.20287.116.camel@localhost>
Laurent GUERBY wrote:
> 3/ Here is the point I find surprising: the "ps fauxww" run in the
> second "if" show that even if the script is fully sequential
> at least one gnatmake subprocess (collect-ld) is still marked as running
> *in parallel* with the ps command in the subsequent "if" of the script!
> Any idea of why /bin/sh is running stuff in parallel instead
> of sequential?
>
> Could some code in
> gnatmake/gnatlink/xgcc/collect2/collect-ld cause it?
I notice gnatmake.adb has a reference to GNAT.OS_Lib.Non_Blocking_Spawn in
it.... coincidence?
cheers,
DaveK