mirror of
https://github.com/sigmasternchen/php-doc-en
synced 2025-03-15 16:38:54 +00:00
update class names and list format
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@332972 c90b9560-bf6c-de11-be94-00142212c4b1
This commit is contained in:
parent
d075c7e69f
commit
82499abcfb
7 changed files with 20 additions and 12 deletions
|
@ -3,7 +3,7 @@
|
|||
|
||||
<phpdoc:classref xml:id="class.cond" xmlns:phpdoc="http://php.net/ns/phpdoc" xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink" xmlns:xi="http://www.w3.org/2001/XInclude">
|
||||
|
||||
<title>Condition Variable</title>
|
||||
<title>The Cond class</title>
|
||||
<titleabbrev>Cond</titleabbrev>
|
||||
|
||||
<partintro>
|
||||
|
|
|
@ -3,7 +3,7 @@
|
|||
|
||||
<phpdoc:classref xml:id="class.mutex" xmlns:phpdoc="http://php.net/ns/phpdoc" xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink" xmlns:xi="http://www.w3.org/2001/XInclude">
|
||||
|
||||
<title>Mutual Exclusion</title>
|
||||
<title>The Mutex class</title>
|
||||
<titleabbrev>Mutex</titleabbrev>
|
||||
|
||||
<partintro>
|
||||
|
|
|
@ -3,7 +3,7 @@
|
|||
|
||||
<phpdoc:classref xml:id="class.pool" xmlns:phpdoc="http://php.net/ns/phpdoc" xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink" xmlns:xi="http://www.w3.org/2001/XInclude">
|
||||
|
||||
<title>Pooling</title>
|
||||
<title>The Pool class</title>
|
||||
<titleabbrev>Pool</titleabbrev>
|
||||
|
||||
<partintro>
|
||||
|
|
|
@ -3,7 +3,7 @@
|
|||
|
||||
<phpdoc:classref xml:id="class.thread" xmlns:phpdoc="http://php.net/ns/phpdoc" xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink" xmlns:xi="http://www.w3.org/2001/XInclude">
|
||||
|
||||
<title>Threads</title>
|
||||
<title>The Thread class</title>
|
||||
<titleabbrev>Thread</titleabbrev>
|
||||
|
||||
<partintro>
|
||||
|
|
|
@ -3,7 +3,7 @@
|
|||
|
||||
<phpdoc:classref xml:id="class.threaded" xmlns:phpdoc="http://php.net/ns/phpdoc" xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink" xmlns:xi="http://www.w3.org/2001/XInclude">
|
||||
|
||||
<title>Thread Safe Objects</title>
|
||||
<title>The Threaded class</title>
|
||||
<titleabbrev>Threaded</titleabbrev>
|
||||
|
||||
<partintro>
|
||||
|
|
|
@ -15,7 +15,7 @@
|
|||
<methodparam><type>boolean</type><parameter>preserve</parameter></methodparam>
|
||||
</methodsynopsis>
|
||||
<para>
|
||||
Fetches a chunk of the objects properties table of the given size, optionally preserving keys
|
||||
Fetches a chunk of the objects property table of the given size, optionally preserving keys
|
||||
</para>
|
||||
</refsect1>
|
||||
|
||||
|
|
|
@ -3,7 +3,7 @@
|
|||
|
||||
<phpdoc:classref xml:id="class.worker" xmlns:phpdoc="http://php.net/ns/phpdoc" xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink" xmlns:xi="http://www.w3.org/2001/XInclude">
|
||||
|
||||
<title>Workers</title>
|
||||
<title>The Worker class</title>
|
||||
<titleabbrev>Worker</titleabbrev>
|
||||
|
||||
<partintro>
|
||||
|
@ -16,11 +16,19 @@
|
|||
</para>
|
||||
<para>
|
||||
When a Worker is started, the run method will be executed, but the Thread will not leave until one of the following conditions are met:
|
||||
|
||||
- the Worker goes out of scope (no more references remain)
|
||||
- the programmer calls shutdown
|
||||
- the script dies
|
||||
|
||||
</para>
|
||||
<itemizedlist>
|
||||
<listitem>
|
||||
<para>the Worker goes out of scope (no more references remain)</para>
|
||||
</listitem>
|
||||
<listitem>
|
||||
<para>the programmer calls shutdown</para>
|
||||
</listitem>
|
||||
<listitem>
|
||||
<para>the script dies</para>
|
||||
</listitem>
|
||||
</itemizedlist>
|
||||
<para>
|
||||
This means the programmer can reuse the context throughout execution; placing objects on the stack of the Worker will cause the Worker to
|
||||
execute the stacked objects run method.
|
||||
</para>
|
||||
|
|
Loading…
Reference in a new issue