Re: LWP::Parallel in PHP
| From: | David Otton | Date: | Fri, 29 Aug 2003 00:50:23 +0000 |
| Subject: | Re: LWP::Parallel in PHP | ||
| References: | 1 2 3 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-161094@lists.php.net to get a copy of this message | ||
On Thu, 28 Aug 2003 15:49:15 -0700, you wrote:
>> Think you're out of luck. Yes, it's a problem I've run up against more than
>> once. There's no thread support in PHP [4. Anyone know if it's in 5?].
>php.net/pcntl_fork
Interesting - that's new.
Unix-only and not in the default install. Not avaialble when PHP is
installed as a mod, either, if I read the manual right. Which explains why
it isn't in common use...
Getting the data back from the child process is gonna be pretty messy (temp
files I guess), but... hmm. Still, may be the best solution in some
circumstances.
For the sake of completeness, I did some searching this time and there
appears to be experimental thread support in PECL.