Correct me if i am wrong: We have a macros that garantees thread safety for module globals TSRMG. But if we use this on strings or structures that is not thread safe because then the lock only occurs for copying the pointer. But another thread could change the global value what results in efree of the former copied pointer.
If i am correct we would need: a) to generate an error if TSRMG is used on a string b) a function that allows to do a thread safe copy operation with the string. OR we make TSRMG do this and all current TSRMG calls with strings have to explicitly call free for the copy. marcus -- PHP Development Mailing List <http://www.php.net/> To unsubscribe, visit: http://www.php.net/unsub.php