mirror of
https://github.com/sigmasternchen/php-doc-en
synced 2025-03-15 16:38:54 +00:00
build fix ...
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@330055 c90b9560-bf6c-de11-be94-00142212c4b1
This commit is contained in:
parent
9370f35af4
commit
c4be02cd14
1 changed files with 46 additions and 49 deletions
|
@ -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>
|
Loading…
Reference in a new issue