Re: [PHP-DEV] Thread safety & global strings

2002-04-12 Thread brad lafountain
--- Marcus Boerger <[EMAIL PROTECTED]> wrote: > 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

[PHP-DEV] Thread safety & global strings

2002-04-12 Thread Marcus Boerger
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