Matt Benson wrote:

--- Peter Reilly <[EMAIL PROTECTED]> wrote:


* local properties for macros (most likely Jose's
solution with
an auto removal of the local properties at
the end of the macro)



Do you think the ThreadLocals are just not going to
behave themselves?


Thread locals can be tricky:
 see: http://blog.arendsen.net/?p=18
 and: http://www.javalobby.org/forums/thread.jspa?forumID=61&threadID=13090

Using the threadlocals to make copies of the pointers to the properties may be a bit extreme with all the threads
created for process io handling (this seems to be the problem with the OOM when
running the unit tests).


I have been thinking of explictity coping only for <parallel> and not doing this for
other threads, but I have not had much free time to investigate.



Jose's solution provides the functionally needed at a very low cost (both for coding and overhead), so it may be the
way to go.


Peter

-Matt

__________________________________________________
Do You Yahoo!?
Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.com


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







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



Reply via email to