do the same rules that apply to parser instances apply to DOMWriter instances
with respect to thread safety?


The FAQ says the following about parser instances:

Within an address space, an instance of the parser may be used without
restriction from a single thread, or an instance of the parser can be accessed
from multiple threads, provided the application guarantees that only one thread
has entered a method of the parser at any one time.

When two or more parser instances exist in a process, the instances can
be used concurrently, without external synchronization. That is, in an
application containing two parsers and two threads, one parser can be running
within the first thread concurrently with the second parser running within the
second thread


Basically, can I reuse the same writer instance in 2 separate threads without synchronization?
I expect the answer is no, just wanted to make sure.


Thanks,
Jim Williams


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



Reply via email to