svn: /phpdoc/en/trunk/reference/pthreads/ book.xml collectable.xml versions.xml
| From: | Joe Watkins | Date: | Fri, 12 Sep 2014 15:28:30 +0000 |
| Subject: | svn: /phpdoc/en/trunk/reference/pthreads/ book.xml collectable.xml versions.xml | ||
| Groups: | php.doc.cvs | ||
| Request: | Send a blank email to doc-cvs+get-12802@lists.php.net to get a copy of this message | ||
krakjoe Fri, 12 Sep 2014 15:28:30 +0000
Revision: http://svn.php.net/viewvc?view=revision&revision=334851
Log:
remaining docs for Collectable
Changed paths:
U phpdoc/en/trunk/reference/pthreads/book.xml
A phpdoc/en/trunk/reference/pthreads/collectable.xml
U phpdoc/en/trunk/reference/pthreads/versions.xml
Modified: phpdoc/en/trunk/reference/pthreads/book.xml
===================================================================
--- phpdoc/en/trunk/reference/pthreads/book.xml 2014-09-12 15:28:00 UTC (rev 334850)
+++ phpdoc/en/trunk/reference/pthreads/book.xml 2014-09-12 15:28:30 UTC (rev 334851)
@@ -90,6 +90,7 @@
&reference.pthreads.threaded;
&reference.pthreads.thread;
&reference.pthreads.worker;
+ &reference.pthreads.collectable;
&reference.pthreads.modifiers;
&reference.pthreads.pool;
&reference.pthreads.mutex;
Added: phpdoc/en/trunk/reference/pthreads/collectable.xml
===================================================================
--- phpdoc/en/trunk/reference/pthreads/collectable.xml (rev 0)
+++ phpdoc/en/trunk/reference/pthreads/collectable.xml 2014-09-12 15:28:30 UTC (rev 334851)
@@ -0,0 +1,76 @@
+<?xml version="1.0" encoding="utf-8"?>
+<!-- $Revision$ -->
+
+<phpdoc:classref xml:id="class.collectable" 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>The Collectable class</title>
+ <titleabbrev>Collectable</titleabbrev>
+
+ <partintro>
+
+<!-- {{{ Collectable intro -->
+ <section xml:id="collectable.intro">
+ &reftitle.intro;
+ <para>
+ Collectable objects are intended to be used by the Pool class, replacing Threaded objects as the
unit of work, they provide methods to set and detect the collectability of an object.
+ </para>
+ </section>
+<!-- }}} -->
+
+ <section xml:id="collectable.synopsis">
+ &reftitle.classsynopsis;
+
+<!-- {{{ Synopsis -->
+ <classsynopsis>
+ <ooclass><classname>Collectable</classname></ooclass>
+
+<!-- {{{ Class synopsis -->
+ <classsynopsisinfo>
+ <ooclass>
+ <classname>Collectable</classname>
+ </ooclass>
+
+ <ooclass>
+ <modifier>extends</modifier>
+ <classname>Threaded</classname>
+ </ooclass>
+ </classsynopsisinfo>
+<!-- }}} -->
+
+ <classsynopsisinfo role="comment">&Methods;</classsynopsisinfo>
+ <xi:include xpointer="xmlns(db=http://docbook.org/ns/docbook)
xpointer(id('class.collectable')/db:refentry/db:refsect1[@role='description']/descendant::db:methodsynopsis[not(@role='procedural')])"
/>
+
+ <classsynopsisinfo
role="comment">&InheritedMethods;</classsynopsisinfo>
+ <xi:include xpointer="xmlns(db=http://docbook.org/ns/docbook)
xpointer(id('class.threaded')/db:refentry/db:refsect1[@role='description']/descendant::db:methodsynopsis[not(@role='procedural')])"
/>
+
+ </classsynopsis>
+<!-- }}} -->
+
+ </section>
+
+ </partintro>
+
+ &reference.pthreads.entities.collectable;
+
+</phpdoc:classref>
+
+<!-- Keep this comment at the end of the file
+Local variables:
+mode: sgml
+sgml-omittag:t
+sgml-shorttag:t
+sgml-minimize-attributes:nil
+sgml-always-quote-attributes:t
+sgml-indent-step:1
+sgml-indent-data:t
+indent-tabs-mode:nil
+sgml-parent-document:nil
+sgml-default-dtd-file:"~/.phpdoc/manual.ced"
+sgml-exposed-tags:nil
+sgml-local-catalogs:nil
+sgml-local-ecat-files:nil
+End:
+vim600: syn=xml fen fdm=syntax fdl=2 si
+vim: et tw=78 syn=sgml
+vi: ts=1 sw=1
+-->
Property changes on: phpdoc/en/trunk/reference/pthreads/collectable.xml
___________________________________________________________________
Added: svn:keywords
+ Id Rev Revision Date LastChangedDate LastChangedRevision Author LastChangedBy HeadURL URL
Added: svn:eol-style
+ native
Modified: phpdoc/en/trunk/reference/pthreads/versions.xml
===================================================================
--- phpdoc/en/trunk/reference/pthreads/versions.xml 2014-09-12 15:28:00 UTC (rev 334850)
+++ phpdoc/en/trunk/reference/pthreads/versions.xml 2014-09-12 15:28:30 UTC (rev 334851)
@@ -109,6 +109,10 @@
<function name='pool::collect' from='PECL pthreads >= 2.0.0'/>
<function name='pool::shutdown' from='PECL pthreads >= 2.0.0'/>
<function name='pool::__destruct' from='PECL pthreads >= 2.0.0'/>
+
+ <function name='collectable' from='PECL pthreads >= 2.0.8'/>
+ <function name='collectable::isgarbage' from='PECL pthreads >=
2.0.8'/>
+ <function name='collectable::setgarbage' from='PECL pthreads >=
2.0.8'/>
</versions>
<!-- Keep this comment at the end of the file