Home All Groups Group Topic Archive Search About

How to know if something is thread safe?

Author
21 Mar 2007 6:04 PM
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.

Author
21 Mar 2007 7:33 PM
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!
*********************************************
Show quote
"Mufasa" <j*@nowhere.com> wrote in message
news:%23NTGTN%23aHHA.596@TK2MSFTNGP06.phx.gbl...
> 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.
>
>
Author
22 Mar 2007 1:48 PM
Göran_Andersson
Mufasa wrote:
> 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.

--
Göran Andersson
_____
http://www.guffa.com

AddThis Social Bookmark Button