Re: AW: [PEAR-DEV] Package Proposal: PHP::Thread
| From: | Alan Knowles | Date: | Sun, 19 Oct 2003 23:34:31 +0000 |
| Subject: | Re: AW: [PEAR-DEV] Package Proposal: PHP::Thread | ||
| References: | 1 | Groups: | php.pear.dev |
| Request: | Send a blank email to pear-dev+get-22827@lists.php.net to get a copy of this message | ||
I'd recommend namign it something like
PHP_FakeThread as not to confuse someone into thinking it was real threading..
but, otherwise looks ok, and probably usefull.
Regards
Alan
Stephan Schmidt wrote:
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.phpsThis 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