AW: [PEAR-DEV] Package Proposal: PHP::Thread
| From: | Stephan Schmidt | Date: | Sun, 19 Oct 2003 21:34:01 +0000 |
| Subject: | AW: [PEAR-DEV] Package Proposal: PHP::Thread | ||
| References: | 1 | Groups: | php.pear.dev |
| Request: | Send a blank email to pear-dev+get-22826@lists.php.net to get a copy of this message | ||
Hi,
> And now you have two threads running cuncurrently that do the
> same thing (this is stupid, just for example...).
> Please give a look to (unpolished) source code at:
> http://www.lucamariano.it/packages/threadClass> .phps
> It's also
> avaible a simple example at:
> http://www.lucamariano.it/packages/passing_vars.phps
This looks great!
I could use this for my generic server class. I implemented forking of
processes, but communication between the threads is still on my todo
list. Would be great if I could just use your class. If you are
interested in working with me on this, you can take a look at the
current version at:
http://cvs.php.net/cvs.php/pear/Net_Server/Server/Drivers/Fork.php
If you clean up the source and add DocBlocks, I'm definitely +1 on this
package!
Stephan