Re: AW: [PEAR-DEV] Package Proposal: PHP::Thread
| From: | Alan Knowles | Date: | Mon, 20 Oct 2003 08:34:37 +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-22839@lists.php.net to get a copy of this message | ||
luca.mariano@email.it wrote:
and it's a really threading, not a Fake one... unfortunatly forking doesnt share variable space (although from our tests with the thread extension this is very difficult anyway..) I supposeI'd recommend namign it something like PHP_FakeThread as not to confuse someone into thinking it was real threading..Ok for code cleanup and docblocks... In effect Thread class need some adjustments to fit PEAR standards. I still think the best name will be PHP_Thread because pnclt_fork() is the only way for threading in PHP lang, cvs.php.net pecl/ext/threads :)
fake threading is the Sun Java's one, where only one process really exist into system, and the JVM try to emulate the multi-threading behaviour.... Does it, dont tell those Java zealots :)I think you should be careful, in presenting it as real threading.. - I didnt look too deeply but I presume you are emulating the Java/C# API, using forking. Regards Alan
-- Email.it, the professional e-mail, gratis per te: http://www.email.it/f Sponsor: Occhialeria.it Scopri le migliori marche a prezzi imbattibili Clicca qui: http://adv.email.it/cgi-bin/foclick.cgi?mid=879&d=20-10-- Can you help out? Need Consulting Services or Know of a Job? http://www.akbkhome.com