Skip to main content



      Home
Home » Modeling » EMF » XmlParserPoolImpl 2.1.0 not thread safe?
XmlParserPoolImpl 2.1.0 not thread safe? [message #398126] Sun, 29 January 2006 13:00 Go to next message
Eclipse UserFriend
I'm in need of a thread safe of XMLParserPool for loading resources
within a servlet for EMF 2.1.x. Looking at the Javadoc for
XMLParserPoolImpl for EMF 2.1.0, it claims it's not thread safe. But
you could fool me; looks pretty thread safe to me. Comparing it to the
implementation in EMF 2.2.20, which claims it IS thread safe.

Is EMF 2.1.0's XMLParserPoolImpl thread safe, but the Javadoc comment is
wrong? Or, if it is not thread safe, can someone explain how?

--
Patrick Mueller - pmuellr@yahoo.com

Oblique Strategies: It is simply a matter or work
Re: XmlParserPoolImpl 2.1.0 not thread safe? [message #398134 is a reply to message #398126] Mon, 30 January 2006 06:52 Go to previous messageGo to next message
Eclipse UserFriend
Patrick,

I'll have to ask Elena about the Javadoc comments. Looking at the 2.1
version with two methods both of which are synchronized, it looks thread
safe to me too.


Patrick Mueller wrote:

> I'm in need of a thread safe of XMLParserPool for loading resources
> within a servlet for EMF 2.1.x. Looking at the Javadoc for
> XMLParserPoolImpl for EMF 2.1.0, it claims it's not thread safe. But
> you could fool me; looks pretty thread safe to me. Comparing it to
> the implementation in EMF 2.2.20, which claims it IS thread safe.
>
> Is EMF 2.1.0's XMLParserPoolImpl thread safe, but the Javadoc comment
> is wrong? Or, if it is not thread safe, can someone explain how?
>
Re: XmlParserPoolImpl 2.1.0 not thread safe? [message #398151 is a reply to message #398126] Mon, 30 January 2006 11:53 Go to previous messageGo to next message
Eclipse UserFriend
Hi Patrick,

In 2.1 there is a typo in Javadocs for XMLParserPoolImpl.

The XMLParserPoolImpl is thread-safe - the typo is fixed in EMF 2.2.

Thank you,
Elena.
Re: XmlParserPoolImpl 2.1.0 not thread safe? [message #398152 is a reply to message #398151] Mon, 30 January 2006 11:57 Go to previous message
Eclipse UserFriend
Elena Litani wrote:
> In 2.1 there is a typo in Javadocs for XMLParserPoolImpl.
>
> The XMLParserPoolImpl is thread-safe - the typo is fixed in EMF 2.2.

Whew! Thanks!

--
Patrick Mueller - pmuellr@yahoo.com

Oblique Strategies: Display your talent
Previous Topic:xsd:choice Schema Element
Next Topic:temperamental resource set?
Goto Forum:
  


Current Time: Sat Oct 25 06:45:49 EDT 2025

Powered by FUDForum. Page generated in 0.25638 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top