Re: Suggestions for the next php
| From: | Manuel Lemos | Date: | Fri, 21 Dec 2001 22:47:19 +0000 |
| Subject: | Re: Suggestions for the next php | ||
| References: | 1 2 3 4 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-78528@lists.php.net to get a copy of this message | ||
Hello,
Rouvas Stathis wrote:
>
> Manuel Lemos wrote:
> >
> > > > For example, multi-threading. Looking at the PHP sources, I can see this
> > > > would be fairly easy to implement on some most server modules. Before I
> > > > get fried by people for suggesting this, I know there are many functions
> > > > that are not thread safe, such the ob_* functions. But as far as I can
> > > > see threading would be well suited to some PHP tasks...
> >
> > You can use the pcntl extension if you are using any (fork capable)
> > Unix.
>
> Can you elaborate on the "pcntl extension", please?
> What is it?
It is an extension that lets you create child processes with Unix fork.
It does not work on Windows because it can't fork.
> How do you use it?
You have to ask Jason Greene because it is not yet documented.
Regards,
Manuel Lemos