svn: /phpdoc/en/trunk/reference/pthreads/pool/ submit.xml submitTo.xml
| From: | Joe Watkins | Date: | Wed, 12 Mar 2014 22:50:04 +0000 |
| Subject: | svn: /phpdoc/en/trunk/reference/pthreads/pool/ submit.xml submitTo.xml | ||
| Groups: | php.doc.cvs | ||
| Request: | Send a blank email to doc-cvs+get-12211@lists.php.net to get a copy of this message | ||
krakjoe Wed, 12 Mar 2014 22:50:04 +0000
Revision: http://svn.php.net/viewvc?view=revision&revision=332976
Log:
corrections
Changed paths:
U phpdoc/en/trunk/reference/pthreads/pool/submit.xml
U phpdoc/en/trunk/reference/pthreads/pool/submitTo.xml
Modified: phpdoc/en/trunk/reference/pthreads/pool/submit.xml
===================================================================
--- phpdoc/en/trunk/reference/pthreads/pool/submit.xml 2014-03-12 22:46:17 UTC (rev 332975)
+++ phpdoc/en/trunk/reference/pthreads/pool/submit.xml 2014-03-12 22:50:04 UTC (rev 332976)
@@ -4,14 +4,14 @@
<refentry xml:id="pool.submit" xmlns="http://docbook.org/ns/docbook"
xmlns:xlink="http://www.w3.org/1999/xlink">
<refnamediv>
<refname>Pool::submit</refname>
- <refpurpose>Submits a Stackable for execution</refpurpose>
+ <refpurpose>Submits an object for execution</refpurpose>
</refnamediv>
<refsect1 role="description">
&reftitle.description;
<methodsynopsis>
- <modifier>public</modifier>
<type>int</type><methodname>Pool::submit</methodname>
-
<methodparam><type>Stackable</type><parameter>task</parameter></methodparam>
+ <modifier>public</modifier>
<type>integer</type><methodname>Pool::submit</methodname>
+
<methodparam><type>Threaded</type><parameter>task</parameter></methodparam>
</methodsynopsis>
<para>
Submit the task to the next Worker in the Pool
@@ -35,7 +35,7 @@
<refsect1 role="returnvalues">
&reftitle.returnvalues;
<para>
- the identifier of the Worker executing the Stackable
+ the identifier of the Worker executing the object
</para>
</refsect1>
@@ -47,7 +47,7 @@
<programlisting role="php">
<![CDATA[
<?php
-class MyWork extends Stackable {
+class MyWork extends Threaded {
public function run() {
/* ... */
Modified: phpdoc/en/trunk/reference/pthreads/pool/submitTo.xml
===================================================================
--- phpdoc/en/trunk/reference/pthreads/pool/submitTo.xml 2014-03-12 22:46:17 UTC (rev 332975)
+++ phpdoc/en/trunk/reference/pthreads/pool/submitTo.xml 2014-03-12 22:50:04 UTC (rev 332976)
@@ -15,7 +15,7 @@
<methodparam><type>Threaded</type><parameter>task</parameter></methodparam>
</methodsynopsis>
<para>
- Submit the task to the specified Worker in the Pool
+ Submit the object to the specified Worker in the Pool
</para>
</refsect1>