help-make
[Top][All Lists]
Advanced

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

Re: single-threading targets although make was invoked with -jX ?


From: Per Jessen
Subject: Re: single-threading targets although make was invoked with -jX ?
Date: Thu, 05 May 2011 08:20:50 +0200
User-agent: KNode/0.10.4

David Boyce wrote:

> On Wed, May 4, 2011 at 3:51 PM, Per Jessen <address@hidden> wrote:
>> David Boyce wrote:
>> Yes, it satisfies the serialization requirement, but if, for
>> instance, you run a make -j16 and 3 processes get tied up waiting for
>> a fourth, the jobserver thinks they're running and won't be
>> submitting jobs that could run. It's purely an optimization issue.
> 
> Good point.
> 
> BTW, in your original example does "flock -s" really work or is it a
> typo? I'd have thought it should be "flock -x", and  a quick test
> seems to agree, but both you and the manual show -s.

I'm pretty certain it works, I'm certainly using it in a few places. 
I'll have to test it too now, it's a little worrying that you couldn't
make it work. 


/Per Jessen, Zürich




reply via email to

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