How to find a particular dll is threadsafe or not ? Ant API/tool for this?
For example, i downloaded Gecko 1.9.1 SDK.
It contains js3250.dll.
How i can be sure that this dll is thread-safe?
Advan开发者_如何学Pythonce Thanks
-Parimal Das
You'll have to read the documentation of the particular library.
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.
精彩评论