views:

39

answers:

2

For example, i downloaded Gecko 1.9.1 SDK.

It contains js3250.dll.

How i can be sure that this dll is thread-safe?

Advance Thanks

-Parimal Das

+6  A: 

You'll have to read the documentation of the particular library.

Andreas Brinck
totally agree. thread safety can't be deduced.
Andrey
And if the document says nothing about thread safety, assume it is not thread safe.
John Dibling
+1  A: 

If there was such a tool then we would all be using it on our threaded code. Such a tool is impossible to write. You can flag questionable features, so you can say that a particular piece of code is not thread safe, but cannot guarantee that it is. Working at the object code level in a dll would make the problem even more difficult.

KeithB