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
docs.

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

This archive was generated by hypermail 2.2.0+W3C-0.50 : Friday, 22 June 2012 06:13:55 GMT