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: David Boyce
Subject: Re: single-threading targets although make was invoked with -jX ?
Date: Wed, 4 May 2011 19:24:42 -0400

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.

-David



reply via email to

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