To understand ZTS in PHP.
| From: | Ananth Kesari | Date: | Fri, 02 May 2003 11:03:03 +0000 |
| Subject: | To understand ZTS in PHP. | ||
| Groups: | php.internals | ||
| Request: | Send a blank email to internals+get-1159@lists.php.net to get a copy of this message | ||
Hi,
We are developing PHP for NetWare. We have a question here. This could
be a trivia, but still asking to understand more.
In the TSRM module, and other places also, the code contains ZTS (I
guess ZTS stands for Zend Thread Safety. Am I correct?). From what I
understand this is for providing safety to the threads using mutexes.
Correct me if I am wrong.
We have a couple of questions on this:
1. What happens if I do not use ZTS? Can we safely use it on
production
servers which get multiple requests?
2. Is ZTS platform specific? We need to see if we "really" need this to
be enabled on NetWare.
3. Why is ZTS an option and not mandatory?
Your inputs on this is highly appreciated.
Thanks,
Ananth.