From 83d7c16fea9b0a440234c88c29900be4072a621d Mon Sep 17 00:00:00 2001 From: Joe Watkins Date: Thu, 6 Mar 2014 16:17:12 +0000 Subject: [PATCH] add new docs for pool git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@332926 c90b9560-bf6c-de11-be94-00142212c4b1 --- reference/pthreads/pool.xml | 144 ++++++++++++++++++++++++++++++++++++ 1 file changed, 144 insertions(+) create mode 100644 reference/pthreads/pool.xml diff --git a/reference/pthreads/pool.xml b/reference/pthreads/pool.xml new file mode 100644 index 0000000000..b8ce9866ff --- /dev/null +++ b/reference/pthreads/pool.xml @@ -0,0 +1,144 @@ + + + + + The Pool class + Pool + + + + +
+ &reftitle.intro; + + A Pool is a container for, and controller of, a number of Worker threads, the number of threads can be adjusted during execution, additionally the Pool provides an easy mechanism to maintain and collect references in the proper way. + +
+ + +
+ &reftitle.classsynopsis; + + + + Pool + + + + + Pool + + + + + Properties + + protected + integer + size + + + protected + array + workers + + + protected + array + work + + + protected + integer + last + + + protected + string + class + + + protected + array + ctor + + + &Methods; + + +
+ +
+ &reftitle.properties; + + + size + + The maximum number of Worker threads allowed in this Pool + + + + workers + + The array of Worker threads for this Pool + + + + work + + The array of Stackables submitted to this Pool for execution + + + + last + + The numeric identifier for the last Worker used by this Pool + + + + workers + + The name of the Worker class for this Pool + + + + workers + + The constructor arguments to be passed by this Pool to new Workers upon construction + + + +
+ + +
+ + &reference.pthreads.entities.pool; + +
+ + +