bug-make
[Top][All Lists]
Advanced

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

Re: [bug #33138] .PARLLELSYNC enhancement with patch


From: Eli Zaretskii
Subject: Re: [bug #33138] .PARLLELSYNC enhancement with patch
Date: Sat, 27 Apr 2013 14:39:16 +0300

> Date: Sat, 27 Apr 2013 13:09:02 +0300
> From: Eli Zaretskii <address@hidden>
> Cc: address@hidden, address@hidden
> 
> > The basic feature can be tested trivially like this:
> > 
> >   all: one two
> > 
> >   one two:
> >           @echo start $@
> >           @sleep 1
> >           @echo stop $@
> > 
> > Now if you run this using "make -j" you'll get:
> > 
> >   start one
> >   start two
> >   stop one
> >   stop two
> > 
> > If you run this using "make -j -O" you should get:
> > 
> >   start one
> >   stop one
> >   start two
> >   stop two
> > 
> > There's more to test than that: before it's done we need to test
> > recursive make invocations for example.  But the above is simple.
> 
> Thanks, I tested this, and also the recursive behavior.

The changes needed to make -O work on MS-Windows are now committed to
the master repository, see commits da7df54 and 049f8e8.  Please review
and comment.

I also took liberty in committing a small change posted by Frank in
this thread, whereby, if taking the semaphore fails, output is dumped
unsynchronized, instead of being silently ignored.  (Btw, I don't see
Frank's assignment on file for Make, so I marked this change "tiny",
per the FSF procedures.)

Thanks to all who contributed to this (lengthy) discussion and allowed
me to understand how to implement this feature on Windows.



reply via email to

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