bug-make
[Top][All Lists]
Advanced

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

Re: Inconsistent behaviour when building in parallel


From: Eli Zaretskii
Subject: Re: Inconsistent behaviour when building in parallel
Date: Sun, 21 Jan 2007 22:46:15 +0200

> From: Dirk Heinrichs <address@hidden>
> Date: Sat, 20 Jan 2007 22:22:04 +0100
> 
> So the left hand doesn't know what the right hand does?

??? Would you care to explain where do you see two hands that don't
know each what the other one does?

As far as I see from Paul's clear description is that Make does the
same thing in both situations.

What would you expect Make to do in each case?

> > In the parallel case you can't tell exactly what will happen: it depends
> > on your system; how busy it is, what order the various jobs are
> > scheduled by the OS, how long the command takes to execute, etc.  It
> > could work perfectly, or it could be run twice, or more times (if there
> > are more than two targets).
> 
> That's even worse.

Really? why?

I'm sure you are familiar with the notion of multi-tasking or
multi-threading, and know that independent parallel execution threads
are much less deterministic than sequential single-threaded ones.
While that is a fact of life, this is the first time I hear someone
say that it is such a bad thing.

Anyway, you can always use -j1 if you don't want parallelism.




reply via email to

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