diff --git a/reference/pthreads/book.xml b/reference/pthreads/book.xml
index 8cae399bbd..34fc57f4ab 100644
--- a/reference/pthreads/book.xml
+++ b/reference/pthreads/book.xml
@@ -65,7 +65,7 @@
Static Members:
- When a new context is created ( Thread or Worker ), only the simple members of static classes are copied, no resources or objects are copied into the threading context from static class members. This allows them to function as a kind of thread local storage. For example, upon starting the context, a class whose static members include connection information for a database server, and the connection itself, will only have the simple connection information copied, not the connection. Allowing the new context to initiate a connection in the same way as the context that created it, storing the connection in the same place without affecting the original context.
+ When a new context is created ( Thread or Worker ), only the simple members of static classes are copied, no resources, objects or arrays are copied into the threading context from static class members. This allows them to function as a kind of thread local storage. For example, upon starting the context, a class whose static members include connection information for a database server, and the connection itself, will only have the simple connection information copied, not the connection. Allowing the new context to initiate a connection in the same way as the context that created it, storing the connection in the same place without affecting the original context.
diff --git a/reference/pthreads/threaded/extend.xml b/reference/pthreads/threaded/extend.xml
new file mode 100644
index 0000000000..3d2d986a39
--- /dev/null
+++ b/reference/pthreads/threaded/extend.xml
@@ -0,0 +1,91 @@
+
+
+
+
+
+ Threaded::extend
+ Runtime Manipulation
+
+
+
+ &reftitle.description;
+
+ public boolThreaded::extend
+ stringclass
+
+
+ Makes thread safe standard class at runtime
+
+
+
+
+ &reftitle.parameters;
+
+
+ class
+
+
+ The class to extend
+
+
+
+
+
+
+
+ &reftitle.returnvalues;
+
+ A boolean indication of success
+
+
+
+
+ &reftitle.examples;
+
+
+ Runtime inheritance
+
+
+]]>
+
+ &example.outputs;
+
+
+
+
+
+
+
+
+
+
diff --git a/reference/pthreads/threaded/from.xml b/reference/pthreads/threaded/from.xml
new file mode 100644
index 0000000000..379af34297
--- /dev/null
+++ b/reference/pthreads/threaded/from.xml
@@ -0,0 +1,109 @@
+
+
+
+
+
+ Threaded::from
+ Creation
+
+
+
+ &reftitle.description;
+
+ public ThreadedThreaded::from
+ Closurerun
+ Closureconstruct
+ arrayargs
+
+
+ Creates an anonymous Threaded object from closures
+
+
+
+
+ &reftitle.parameters;
+
+
+ run
+
+
+ The closure to use for ::run
+
+
+
+
+ construct
+
+
+ The constructor to use for anonymous object
+
+
+
+
+ args
+
+
+ The arguments to pass to constructor
+
+
+
+
+
+
+
+ &reftitle.returnvalues;
+
+ A new anonymous Threaded object
+
+
+
+
+ &reftitle.examples;
+
+
+ Thread safe objects from closures
+
+submit(Collectable::from(function(){
+ echo "Hello World";
+ $this->setGarbage();
+}));
+/* ... */
+$pool->shutdown();
+?>
+]]>
+
+ &example.outputs;
+
+
+
+
+
+
+
+
+
+
diff --git a/reference/pthreads/versions.xml b/reference/pthreads/versions.xml
index c9a144ce49..acea23330f 100644
--- a/reference/pthreads/versions.xml
+++ b/reference/pthreads/versions.xml
@@ -23,6 +23,8 @@
+
+