Re: zend_alter_ini_entry threadsave if used in SAPI modules?
| From: | Zeev Suraski | Date: | Sun, 18 May 2003 14:46:25 +0000 |
| Subject: | Re: zend_alter_ini_entry threadsave if used in SAPI modules? | ||
| References: | 1 2 | Groups: | php.internals |
| Request: | Send a blank email to internals+get-1672@lists.php.net to get a copy of this message | ||
At 16:45 18/05/2003, Uwe Schindler wrote:
Look here:
/*
* Deactivated for now. The ini system will cause random crashes when
* accessed from here (since there are no locks to protect the global
* known_directives)
*/
My question was if the modifications to the ini values are valid only for one thread, so if the webserver runs two requests in two threads at the same time with different ini settings if they can see the modification of the other one...
Each thread has its own copy of the value, different threads can see different values. I'm not aware of any crashes related to the INI system for quite some time...
Zeev