How to know if something is thread safe?

  • Thread starter Thread starter Mufasa
  • Start date Start date
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.
 
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!
*********************************************
 
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.
 
Back
Top