W3C home > Mailing lists > Public > www-dom@w3.org > October to December 2001

Re: Question: Building nodes in concurrent threads

From: Joseph Kesselman <keshlam@us.ibm.com>
Date: Wed, 3 Oct 2001 14:10:37 -0400
To: "'www-dom@w3.org'" <www-dom@w3.org>
Message-ID: <OFD287B983.1DE963DF-ON85256ADA.00630026@pok.ibm.com>

Check the documentation for your DOM implementation. The DOM spec does not
guarantee that multitasking will be supported. Most existing DOM
implementations are not threadsafe; a few are, and a few have documented
what you can and can't get away with.

If yours isn't safe, adding the appropriate semaphores in your application
code to protect an unsafe implementation will probably be possible, just as
with any non-thread-safe data structure. Again, check your implementation's

Joe Kesselman  / IBM Research
Received on Wednesday, 3 October 2001 14:11:17 UTC

This archive was generated by hypermail 2.3.1 : Tuesday, 20 October 2015 10:46:09 UTC