> We could of course mutex every call to every external function. Then we > could be reasonably sure it would work, and at the same time we could be > sure that it was much slower than running it non-threaded.
Any crash in an area protected by mutex would leave this mutex in non-released state and all the rest threads trying to access that area would be blocked forever. Remember the problem of Win95<->Win 3.1 interoperability ? BTW, is there any way for checking if a library does not create nor use any global variables ? May be just running nm with non-stripped .so objects and inspecting the resulting list ? Any other ideas ? -Dmitri. -- PHP Internals - PHP Runtime Development Mailing List To unsubscribe, visit: http://www.php.net/unsub.php