ant-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Steve Loughran <>
Subject Re: Parallel processing option for subant?
Date Wed, 12 Oct 2005 13:39:53 GMT
Matt Benson wrote:
> --- Jeffrey E Care <> wrote:
>>Steve Loughran <> wrote on
>>10/12/2005 07:50:04 AM:
> [SNIP]
>>>to an extent <parallel> is the most prone to race
>>conditions, as it is 
>>>running stuff in the same project. a subant
>>running in parallel is 
>>>likely to share much less, just a FileUtils
>>instance and maybe some 
>>>references handed down.
>>Is it same to assume that we'll be running against
>>JDK 1.2 or greater? If 
>>so we could possibly convert FileUtils (or any other
>>class with a static 
>>"getInstance" singleton accessor) to use
> To interject, I can't recall ever having seen anything
> in FileUtils specifically that would not be
> thread-safe.  There is no instance data and no static
> data is modified after class initialization.

I agree -its just the main singleton that springs to mind.

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message