Bonio Lopez wrote: > Hi, > Meanwhile quite any machine has more then one processor (even Intel with > Dual Core and HT). > Would not it be nice to add multithreading to nant? As starting point I > could imagine to add some attribute to <nant> task, like > <nant target="XXX" max_threads_num="4" > > <buildfiles> > <include name="**\default.build"/> > </buildfiles> > </nant> > > The default value of max_threads_num could be 1, so that it would stay > compatible. > The control flow stays in the nant task until all threads have exited > without errors. If one thread exited with error then build stops. IMHO this > feature would give significant speed up to the build process for bigger > projects on multiprocessor machines. > What do you think? > If the NAnt files are really independent of each other, then you can already use CC.Net to run them in parallel. But usually when you'd want to do a build like this, from a single tree, there are interdependencies that prevent you from doing things in parallel.
What sorts of projects do you have in this tree that would make you want to build them all at once, and yet they can be built in any order? Gary ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys -- and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ NAnt-users mailing list NAnt-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nant-users