[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: patch to support output synchronization under -j
From: |
Paul Smith |
Subject: |
Re: patch to support output synchronization under -j |
Date: |
Fri, 15 Apr 2011 12:21:18 -0400 |
On Fri, 2011-04-15 at 18:09 +0300, Eli Zaretskii wrote:
> > But yes, any feature
> > which consumes additional resources increases the risk of running out
> > of that resource. I don't know that recursion comes into it though,
>
> 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.
We will just set them to be close-on-exec, except the dup'd versions for
stdout/stderr. I'm pretty sure we already do that in some situations.
We really don't want them inherited by sub-makes and other jobs anyway:
that would be bad. Some commands don't like it.
- Re: patch to support output synchronization under -j, (continued)
- Re: patch to support output synchronization under -j, Eli Zaretskii, 2011/04/14
- Re: patch to support output synchronization under -j, David Boyce, 2011/04/14
- Re: patch to support output synchronization under -j, Eli Zaretskii, 2011/04/15
- Re: patch to support output synchronization under -j, Tim Murphy, 2011/04/15
- Re: patch to support output synchronization under -j, Eli Zaretskii, 2011/04/15
- Re: patch to support output synchronization under -j, Stefano Lattarini, 2011/04/15
- Re: patch to support output synchronization under -j, David Boyce, 2011/04/15
- Re: patch to support output synchronization under -j, Eli Zaretskii, 2011/04/15
- Re: patch to support output synchronization under -j, David Boyce, 2011/04/15
- Re: patch to support output synchronization under -j, Eli Zaretskii, 2011/04/15
- Re: patch to support output synchronization under -j,
Paul Smith <=
- Re: patch to support output synchronization under -j, David Boyce, 2011/04/15
- Re: patch to support output synchronization under -j, Eli Zaretskii, 2011/04/15
- Re: patch to support output synchronization under -j, Tim Murphy, 2011/04/15
- Re: patch to support output synchronization under -j, Paul Smith, 2011/04/15
- Re: patch to support output synchronization under -j, Eli Zaretskii, 2011/04/15
- Re: patch to support output synchronization under -j, Edward Welbourne, 2011/04/19
- Re: patch to support output synchronization under -j, David Boyce, 2011/04/19
- Re: patch to support output synchronization under -j, Howard Chu, 2011/04/15
- Re: patch to support output synchronization under -j, Tim Murphy, 2011/04/15
- Re: patch to support output synchronization under -j, David Boyce, 2011/04/14