Skip to content
Browse files

Add a few spaces and some words bout $_PCONN.

  • Loading branch information...
1 parent 346c325 commit f2ed5063f46998adbb6d578a62b49f51b4621663 @johannes committed Dec 8, 2009
Showing with 5 additions and 2 deletions.
  1. +5 −2 README
View
7 README
@@ -27,7 +27,10 @@ $ ./pconn -a samples/start.php -z samples/shutdown.php -n10 samples/main.php
If your PHP was compiled with --enable-maintainer-zts you can run multiple
threads:
$ ./pconn -a samples/start.php -z samples/shutdown.php -n10 -t5 samples/main.php
+
This will first call start.php then 10x main.php and shutdown.php in the second
case this will be done in 5 threads in parallel. This sample also demonstrates
-transport ofdata with $_PCONN which isathread-specificcontainer for data which
-is available in all requests.
+transport of data with $_PCONN which is a thread-specific container for data
+which is available in all requests, similar to $_SESSION. As user you can put
+anything serializable in there.
+

0 comments on commit f2ed506

Please sign in to comment.
Something went wrong with that request. Please try again.