[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [RFC]serialize the output of parallel make?
From: |
Chiheng Xu |
Subject: |
Re: [RFC]serialize the output of parallel make? |
Date: |
Fri, 30 Jul 2010 18:05:40 +0800 |
On Fri, Jul 30, 2010 at 6:01 PM, Howard Chu <address@hidden> wrote:
> Chiheng Xu wrote:
>>
>> On Fri, Jul 30, 2010 at 5:35 PM, Eli Zaretskii<address@hidden> wrote:
>>>
>>> I asked for an example. Could you please show a "messy" output and
>>> the output you'd like to have after "serialization"?
>>>
>>> TIA
>>>
>>
>> serially make : execute A, B, C programs, they print:
>>
>> A: Hello, I'm A, I am from Earth.
>> B: The moon is my home.
>> C: Welcome to Mars, It's an amazing planet.
>>
>> parallely make : the output of A, B, C programs interleave :
>>
>> C: Welcome to
>> B: The moon is my
>> A: Hello, I'm A, I am from Earth.home.Mars, It's an amazing planet.
>
> This seems like quite an extreme example. stdout is line buffered by
> default, so individual lines would get written atomically unless the
> programs you're running are doing weird things with their output. In the
> common case interleaving like this doesn't happen within lines, it only
> happens between lines of multi-line output. stderr may skew things since
> it's usually nonbuffered, but again, that's not the common case.
>
I use "make -j 4" to build and test gcc, the situation above is very common.
--
Chiheng Xu
Wuhan,China
Re: [RFC]serialize the output of parallel make?, Eli Zaretskii, 2010/07/30
- Re: [RFC]serialize the output of parallel make?, Chiheng Xu, 2010/07/30
- Re: [RFC]serialize the output of parallel make?, Eli Zaretskii, 2010/07/30
- Re: [RFC]serialize the output of parallel make?, Chiheng Xu, 2010/07/30
- Re: [RFC]serialize the output of parallel make?, Howard Chu, 2010/07/30
- Re: [RFC]serialize the output of parallel make?,
Chiheng Xu <=
- Re: [RFC]serialize the output of parallel make?, Howard Chu, 2010/07/30
- Re: [RFC]serialize the output of parallel make?, Tim Murphy, 2010/07/30
- Re: [RFC]serialize the output of parallel make?, Eli Zaretskii, 2010/07/30
Re: [RFC]serialize the output of parallel make?, Edward Welbourne, 2010/07/30
Re: [RFC]serialize the output of parallel make?, Eli Zaretskii, 2010/07/30