How to know if something is thread safe?

M

Mufasa

I'm working on a routine that get's information from an html page. I'm using
the IHTMLDocument2 type and want to know if it's thread safe? How can I
found out if it is? I want to set up a couple of threads that will process
my web pages.

TIA - Jeff.
 
C

Cowboy \(Gregory A. Beamer\)

Not sure on the MSHTML objects. Found this link that is talking about
mulithreading with MSHTML, however

http://itwriting.com/phorum/read.php?f=3&i=614&t=614

Look for the part with "thread safe" in it. It might give some clues.

--
Gregory A. Beamer
MVP; MCP: +I, SE, SD, DBA

*********************************************
Think outside the box!
*********************************************
 
?

=?ISO-8859-1?Q?G=F6ran_Andersson?=

Mufasa said:
I'm working on a routine that get's information from an html page. I'm using
the IHTMLDocument2 type and want to know if it's thread safe? How can I
found out if it is? I want to set up a couple of threads that will process
my web pages.

TIA - Jeff.

You only have to worry about thread safety if you are sharing any data
between threads. If each thread have their own object, they work
independently of each other.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top