ant-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Matt Benson <gudnabr...@yahoo.com>
Subject Re: Parallel processing option for subant?
Date Wed, 12 Oct 2005 13:28:30 GMT
--- Jeffrey E Care <carej@us.ibm.com> wrote:

> Steve Loughran <stevel@apache.org> 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
> ThreadLocal.

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.

-Matt


		
__________________________________ 
Start your day with Yahoo! - Make it your home page! 
http://www.yahoo.com/r/hs

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@ant.apache.org
For additional commands, e-mail: dev-help@ant.apache.org


Mime
View raw message