bug-make
[Top][All Lists]
Advanced

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

Re: patch to support output synchronization under -j


From: Eli Zaretskii
Subject: Re: patch to support output synchronization under -j
Date: Fri, 15 Apr 2011 19:54:15 +0300

> Date: Fri, 15 Apr 2011 12:39:56 -0400
> From: David Boyce <address@hidden>
> Cc: address@hidden, address@hidden
> 
> On Fri, Apr 15, 2011 at 11:09 AM, Eli Zaretskii <address@hidden> wrote:
> > But this new option uses up 2 additional files per job, doesn't it?
> 
> One or two, as discussed elsewhere in this thread.
> 
> > Each sub-Make inherits all the file descriptors of all its parents,
> > grandparents, etc.  If a sub-Make was launched when 4 other jobs were
> > running in parallel, the sub-Make will inherit 8 file descriptors that
> > it won't use.  The deeper the recursion, the more inherited
> > descriptors.
> 
> You have a good point. I should probably turn on FD_CLOEXEC for these.

I agree.

What about the other issue: with the fact that output from a recipe is
only shown when the entire recipe is done.  I think this is a serious
drawback, at least in some use cases.  Can anything be done about
that?




reply via email to

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