You are viewing a plain text version of this content. The canonical link for it is here.
Posted to c-dev@xerces.apache.org by Stefano Delli Ponti <st...@gmail.com> on 2009/06/09 14:43:31 UTC

Is XMLTranscoder thread safe?

Hi all,

Is possible to use an XMLTranscoder obtained from 
XMLPlatformUtils::fgTransService->makeNewTranscoderFor in multiple 
threads at the same time?

Best,
Stefano


---------------------------------------------------------------------
To unsubscribe, e-mail: c-dev-unsubscribe@xerces.apache.org
For additional commands, e-mail: c-dev-help@xerces.apache.org


Re: Is XMLTranscoder thread safe?

Posted by David Bertoni <db...@apache.org>.
Stefano Delli Ponti wrote:
> Hi all,
> 
> Is possible to use an XMLTranscoder obtained from 
> XMLPlatformUtils::fgTransService->makeNewTranscoderFor in multiple 
> threads at the same time?
In general, no.  Some of the transcoders are thread-safe safe, depending 
on the transcoding service selected, because they don't keep any state 
information.  However, it would be a very bad idea to rely on an 
undocumented "feature" like this.

Dave

---------------------------------------------------------------------
To unsubscribe, e-mail: c-dev-unsubscribe@xerces.apache.org
For additional commands, e-mail: c-dev-help@xerces.apache.org