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

From: Date: Wed, 10 Apr 2013 11:45:42 +0000
Subject: svn: /phpdoc/en/trunk/internals2/memory/ TSRM.xml
Groups: php.doc.cvs 
Request: Send a blank email to doc-cvs+get-11185@lists.php.net to get a copy of this message
krakjoe Wed, 10 Apr 2013 11:45:42 +0000 Revision: http://svn.php.net/viewvc?view=revision&revision=330055 Log: build fix ... 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:28:55 UTC (rev 330054) +++ phpdoc/en/trunk/internals2/memory/TSRM.xml 2013-04-10 11:45:42 UTC (rev 330055) @@ -42,10 +42,8 @@ </simpara> </note> - <title>TSRM API</title> - <simpara> - The API 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 which used correctly will ensure safety in ZTS mode for you. </simpara> <table xml:id="internals2.memory.tsrm.iapis"> @@ -119,51 +117,50 @@ </table> <note> - <simpara>There are more TSRM API functions to enable the creation and destruction of interpreter contexts, the usage of such functionality is out of the scope of this documentation, please see TSRM/TSRM.h for more information.</simpara> - </note> + <simpara>There are more TSRM API functions to enable the creation and destruction of interpreter contexts, the usage of such functionality is out of the scope of this documentation, please see TSRM/TSRM.h for more information.</simpara> + </note> - <title>TSRM Mutex API</title> - <table> - <tgroup cols="2"> - <thead> - <row> - <entry>Prototype</entry> - <entry>Description</entry> - </row> - </thead> - <tbody> - - <row> - <entry><code>MUTEX_T tsrm_mutex_alloc(void)</code></entry> - <entry>Allocates and returns a suitable MUTEX_T for the environment.</entry> - </row> - - <row> - <entry><code>int tsrm_mutex_lock(MUTEX_T mutexp)</code></entry> - <entry> - Locks <code>mutexp</code> for the calling thread. - </entry> - </row> - - <row> - <entry><code>int tsrm_mutex_unlock(MUTEX_T mutexp)</code></entry> - <entry> - Unlocks <code>mutexp</code> for the calling thread. - </entry> - </row> - - <row> - <entry><code>void tsrm_mutex_free(MUTEX_T mutexp);</code></entry> - <entry> - Destroys and frees the (unlocked) and previously allocated <code>mutexp</code>. - </entry> - </row> - </tbody> - </tgroup> - </table> - <note> - <simpara>The mutex API is exposed by TSRM. However, its internal usage is far too wide to document usefully here, none the less, basic functionality and prototypes are documented here.</simpara> - </note> + <table xml:id="internals2.memory.tsrm.mapis"> + <title>TSRM Mutex API</title> + <tgroup cols="2"> + <thead> + <row> + <entry>Prototype</entry> + <entry>Description</entry> + </row> + </thead> + <tbody> + + <row> + <entry><code>MUTEX_T tsrm_mutex_alloc(void)</code></entry> + <entry>Allocates and returns a suitable MUTEX_T for the environment.</entry> + </row> + + <row> + <entry><code>int tsrm_mutex_lock(MUTEX_T mutexp)</code></entry> + <entry> + Locks <code>mutexp</code> for the calling thread. + </entry> + </row> + + <row> + <entry><code>int tsrm_mutex_unlock(MUTEX_T mutexp)</code></entry> + <entry> + Unlocks <code>mutexp</code> for the calling thread. + </entry> + </row> + + <row> + <entry><code>void tsrm_mutex_free(MUTEX_T mutexp);</code></entry> + <entry> + Destroys and frees the (unlocked) and previously allocated <code>mutexp</code>. + </entry> + </row> + </tbody> + </tgroup> + </table> - -</sect1> + <note> + <simpara>The mutex API is exposed by TSRM. However, its internal usage is far too wide to document usefully here, none the less, basic functionality and prototypes are documented here.</simpara> + </note> +</sect1> \ No newline at end of file

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