Question: Building nodes in concurrent threads

I wish to build a large (SQL intensive) Document in concurrent threads.

My idea is to create a Document and attach the first level child nodes.

I will then create 1 thread per child node and pass each child node to the
routines that will build them.

I then wait for all threads to complete.

Is this technique thread safe? My assumption is that it should be because
each thread is appending children onto its "own" node.

If it is not thread safe - can I easily make it so.

Many thanks

Mark

This e-mail and any files transmitted with it are confidential and intended
solely for the use of the individual or entity to whom they are addressed.
If you are not the intended recipient, you should not copy, retransmit or
use the e-mail and/or files transmitted with it  and should not disclose
their contents. In such a case, please notify netwebmaster@hemscott.co.uk
and delete the message from your own system. Any opinions expressed in this
e-mail and/or files transmitted with it that do not relate to the official
business of this company are those solely of the author and should not be
interpreted as being endorsed by this company.

Received on Wednesday, 3 October 2001 09:47:14 UTC