[jdom-interest] Thread safety question

Paul Jakubik pauljakubik at yahoo.com
Thu May 31 07:52:20 PDT 2001


My understanding of JDOM's thread safety is that they
follow the philosophy that I advocate. In general, if
you use separate instances of JDOM classes in separate
threads, there is no problem. If you share instances
of JDOM classes across threads, you are responsible
for adding the appropriate synchronization.

For more information on why this is a good way to do
things, take a look at this paper:

http://www.primenet.com/~jakubik/mpsafe/MultithreadSafety.pdf


I hope this helps,

--Paul

__________________________________________________
Do You Yahoo!?
Get personalized email addresses from Yahoo! Mail - only $35 
a year!  http://personal.mail.yahoo.com/



More information about the jdom-interest mailing list