Re: 回复: Scons-users Digest, Vo l 144, Issue 8

Eric Fahlgren <[email protected]> Mon, 25 Sep 2023 07:54:23 -0700
Newsgroups gmane.comp.programming.tools.scons.user
Message-ID <CAP2Qz+XV+O6QSgfs=iQwVXYFaoZrKO96yoAa9fGRjFwBh3u-SA@mail.gmail.com>
On Mon, Sep 25, 2023 at 3:23 AM Yu,Zhiwei (YFI,Shanghai,CN) <
[email protected]> wrote:

> Hi Guys,
>
>         I find that if I set -j8, the printing messages sequence will be
> disordered.
>         I think the reason is python print buffer has competition in
> multithreading. Am I right?
>         And how can I resolve it.
>

As each subprocess has something to say, it says it.  This is normal and
expected for anything other that -j1.  If you have a requirement that the
output messages be sequential, then your only solution is to turn off
multiple subprocesses and use -j1.

_______________________________________________
Scons-users mailing list
[email protected]
https://pairlist4.pair.net/mailman/listinfo/scons-users