Hi~ I am a new comer for the internals.
- #ifdef ZTS what does this mean? ZTS stands for what?
- can any one kindly give me a detail introduction for the TSRM mechanism
Zend Thread Safety AFAIR,
The Basics of the thread saftey stuff are using global arrays indexed on
the thread id, rather than just plain globals (no thread safe builds,
eg. for apache or cli etc.)
There are a few good books with introductions to Internals (Georges,
Advanced PHP, is very good, and I think someone will point you towards
at least 2 others)
There is a section in the manual - Zend API that covers quite alot, and
lxr.php.net is very usefull..
Although it would be nice if the source used comments that could be run
through doxgen.. (although I'm not voluteering to add them ;)
Regards
Alan
taft wrote:
Hi~ I am a new comer for the internals.
- #ifdef ZTS what does this mean? ZTS stands for what?
- can any one kindly give me a detail introduction for the TSRM mechanism
Thank you Alan. Could some one get more detail info on Zend Thread Safety?
Any document would be fine.
"Alan Knowles" alan@akbkhome.com ????
news:420E19C5.8030600@akbkhome.com...
Zend Thread Safety AFAIR,
The Basics of the thread saftey stuff are using global arrays indexed on
the thread id, rather than just plain globals (no thread safe builds,
eg. for apache or cli etc.)There are a few good books with introductions to Internals (Georges,
Advanced PHP, is very good, and I think someone will point you towards
at least 2 others)There is a section in the manual - Zend API that covers quite alot, and
lxr.php.net is very usefull..Although it would be nice if the source used comments that could be run
through doxgen.. (although I'm not voluteering to add them ;)Regards
Alantaft wrote:
Hi~ I am a new comer for the internals.
- #ifdef ZTS what does this mean? ZTS stands for what?
- can any one kindly give me a detail introduction for the TSRM
mechanism
taft wrote:
Thank you Alan. Could some one get more detail info on Zend Thread Safety?
Probably the only resource is the source (some of the php books may
cover it)
This has a nice introduction to thread concepts.
http://www.llnl.gov/computing/tutorials/workshops/workshop/pthreads/MAIN.html
Regards
Alan
Any document would be fine.
"Alan Knowles" alan@akbkhome.com ????
news:420E19C5.8030600@akbkhome.com...Zend Thread Safety AFAIR,
The Basics of the thread saftey stuff are using global arrays indexed on
the thread id, rather than just plain globals (no thread safe builds,
eg. for apache or cli etc.)There are a few good books with introductions to Internals (Georges,
Advanced PHP, is very good, and I think someone will point you towards
at least 2 others)There is a section in the manual - Zend API that covers quite alot, and
lxr.php.net is very usefull..Although it would be nice if the source used comments that could be run
through doxgen.. (although I'm not voluteering to add them ;)Regards
Alantaft wrote:
Hi~ I am a new comer for the internals.
- #ifdef ZTS what does this mean? ZTS stands for what?
- can any one kindly give me a detail introduction for the TSRM
mechanism