[jdom-interest] Thread safe question: OK for simultaneous read-only access?

Mark Bennett mbennett at ideaeng.com
Sat Oct 27 19:56:21 PDT 2001


Sorry to be dense, but specifically, should simultaneous reading/traversal
of a tree be OK?  As long as no modifications are made?

-----Original Message-----
From: Jason Hunter [mailto:jhunter at acm.org]
Sent: Saturday, October 27, 2001 10:18 AM
To: mbennett at ideaeng.com
Cc: jdom-interest at jdom.org
Subject: Re: [jdom-interest] Thread safe question: OK for simultaneous
read-only access?

> JDOM is generally not thread safe, as I understand it.

True.  We follow the same model as ArrayList, which is not by default
thread safe.

> It's suggested that
> it not be used in such an environment.

Not true.  It's simply suggested you manage your own thread safety.  See
the FAQ for an explanation.

-jh-




More information about the jdom-interest mailing list