svn: /phpdoc/en/trunk/internals2/memory/ TSRM.xml

From: Date: Wed, 10 Apr 2013 11:48:44 +0000
Subject: svn: /phpdoc/en/trunk/internals2/memory/ TSRM.xml
Groups: php.doc.cvs 
Request: Send a blank email to doc-cvs+get-11186@lists.php.net to get a copy of this message
krakjoe Wed, 10 Apr 2013 11:48:44 +0000 Revision: http://svn.php.net/viewvc?view=revision&revision=330056 Log: clarity Changed paths: U phpdoc/en/trunk/internals2/memory/TSRM.xml Modified: phpdoc/en/trunk/internals2/memory/TSRM.xml =================================================================== --- phpdoc/en/trunk/internals2/memory/TSRM.xml 2013-04-10 11:45:42 UTC (rev 330055) +++ phpdoc/en/trunk/internals2/memory/TSRM.xml 2013-04-10 11:48:44 UTC (rev 330056) @@ -29,7 +29,7 @@ </simpara> <simpara> - If a function requires a pointer to TSRM, it is declared with the macro TSRMLS_D or TSRMLS_DC in it's prototype, wihch translates to "thread safe local storage only" and "thread safe local storage prefixed with a comma" respectively. Many macros within the engine reference TSRM, so it is a good idea to declare most things to accept TSRM, such that if they need to call upon TSRM they do not have to fetch a pointer during execution, whenever PHP is built in Thread Safe mode TSRM is available by default. + If a function requires a pointer to TSRM, it is declared with the macro TSRMLS_D or TSRMLS_DC in it's prototype, wihch translates to "thread safe local storage only" and "thread safe local storage prefixed with a comma" respectively. Many macros within the engine reference TSRM, so it is a good idea to declare most things to accept TSRM, such that if they need to call upon TSRM they do not have to fetch a pointer during execution. </simpara> <simpara> @@ -43,7 +43,7 @@ </note> <simpara> - The functionality documented hereafter is aimed at advanced use of TSRM. It is not ordinary for extensions to have to interact with TSRM directly, the pecl programmer should use API's above TSRM such as the Module Globals API which used correctly will ensure safety in ZTS mode for you. + The functionality documented hereafter is aimed at advanced use of TSRM. It is not ordinary for extensions to have to interact with TSRM directly, the pecl programmer should use API's above TSRM such as the Module Globals API. </simpara> <table xml:id="internals2.memory.tsrm.iapis">

« previous php.doc.cvs (#11186) next »