Hello All,

 

I was curious if there exists a means to atomically execute tasks when
running targets in parallel.

 

I.E., I would like to do something like the following:

 

<target name="begin">

                <parallel>

                                <antcall target="one"/>

                                <antcall target="two"/>

                </parallel>

</target>

 

<target name="one">

...

                Do something in parallel

...

                <synchronized>

...

                                Do something atomically

...

                </synchronized>

...

</target>

 

<target name="two">

...

                Do something in parallel

...

                <synchronized>

...

                                Do something atomically

...

                </synchronized>

...

</target>

 

 

Thanks,

-Nathan

Reply via email to