> Date: Sat, 27 Apr 2013 13:09:02 +0300 > From: Eli Zaretskii <e...@gnu.org> > Cc: f.heckenb...@fh-soft.de, bug-make@gnu.org > > > 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. _______________________________________________ Bug-make mailing list Bug-make@gnu.org https://lists.gnu.org/mailman/listinfo/bug-make