Matt Benson wrote:
--- Jeffrey E Care <[EMAIL PROTECTED]> wrote:


Steve Loughran <[EMAIL PROTECTED]> 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.


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


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to