#2 Add <forall> task: parallel foreach

closed
nobody
None
5
2011-09-29
2008-12-02
No

The current behavior of foreach is sequential. With a parallel inner block, some basic parallelism can be added.

I'm in a situation where I have some fixed and some list jobs, and I want to execute all the jobs in parallel.

I'd like to see something like:

<parallel>
<run job="${job1}" />
<forall ...>
<child>
<run job="${job-parallel}" ... />
</child>
</forall>
</parallel>

With the result that job-parallel and job1 would be in parallel with each other, and possibly with 'n' other job-parallel instances.

Discussion

  • Rob Gordon

    Rob Gordon - 2011-09-29

    Foreach now supports parallel execution.

     
  • Rob Gordon

    Rob Gordon - 2011-09-29
    • status: open --> closed
     

Get latest updates about Open Source Projects, Conferences and News.

Sign up for the SourceForge newsletter:

JavaScript is required for this form.





No, thanks