It must be Christmas time.
- A
On Dec 7, 2005, at 7:17 PM, Wez Furlong wrote:
pecl/event is available for download... ;-)
--Wez.
--
PHP Internals - PHP Runtime Development Mailing List
To unsubscribe, visit: http://www.php.net/unsub.php
> I really do not see the point is worrying all too much about multi
> threading in PHP. Writing proper multi threaded code is hard and why
> bother? Your server is going to be busy doing tons of other things at
> the same time. So all your CPU's and cores should have plenty of things
> to do. Also
Hi,
I really do not see the point is worrying all too much about multi
threading in PHP. Writing proper multi threaded code is hard and why
bother? Your server is going to be busy doing tons of other things at
the same time. So all your CPU's and cores should have plenty of things
to do. Also
Thank you all, for the feedback. Some solutions are new to me. So, I'll
be taking a deeper look into those options.
I have to say that they all still sound a bit like work-arounds.
(Although this could very well be due to my unworthy knowledge. ;) ) I
still think it would be nice if there woul
fork() works on windows as well, but on Win32 forking is MUCH slower
then threads.
Ilia
With fork() you mean using exec() to call php with another script,
right? Because I can't seem to find the fork() function anywhere. :|
--
PHP Internals - PHP Runtime Development Mailing List
To unsubscri
Rasmus Lerdorf wrote:
php should defenatly in the future support multi-threading especially if
they want to prove you can do desktop apps with php and not just web
apps ;)
Which is not something we have ever stated to be a goal.
May be not, but when has that stopped people doing things ;)
E
pecl/event is available for download... ;-)
--Wez.
On 12/7/05, Andrei Zmievski <[EMAIL PROTECTED]> wrote:
> Exactly. Something based on libevent would be nice.
>
> -Andrei
>
>
> On Dec 7, 2005, at 4:49 PM, Rasmus Lerdorf wrote:
> >
> >
> > There are no plans for this. Asynchronous mechanisms are
the async handling
right it easily scales by simply adding more processors/hardware as load
demands.
Just a FWIW...
-Original Message-
From: Ilia Alshanetsky [mailto:[EMAIL PROTECTED]
Sent: Wednesday, December 07, 2005 5:55 PM
To: Bart de Boer; internals@lists.php.net
Subject: Re: [PHP-
Exactly. Something based on libevent would be nice.
-Andrei
On Dec 7, 2005, at 4:49 PM, Rasmus Lerdorf wrote:
There are no plans for this. Asynchronous mechanisms are generally
a much more efficient way to do this stuff.
-Rasmus
--
PHP Internals - PHP Runtime Development Mailing List
Bart de Boer wrote:
> Ilia Alshanetsky wrote:
>
>> You don't need threads, you can use fork() for that. On *nix systems it
>> is very fast, nearly as fast as threads and much safer to boot. And you
>> can already do forking in PHP via PCNTL extension's pcntl_fork()
>> function.
>>
>> Ilia
>
>
>
Joseph Crawford wrote:
php should defenatly in the future support multi-threading especially if
they want to prove you can do desktop apps with php and not just web apps ;)
Which is not something we have ever stated to be a goal.
-Rasmus
--
PHP Internals - PHP Runtime Development Mailing List
php should defenatly in the future support multi-threading especially if
they want to prove you can do desktop apps with php and not just web apps ;)
--
Joseph Crawford Jr.
Zend Certified Engineer
Codebowl Solutions, Inc.
1-802-671-2021
[EMAIL PROTECTED]
Try proc_open().
--Wez.
On 12/7/05, Bart de Boer <[EMAIL PROTECTED]> wrote:
> Ilia Alshanetsky wrote:
> > You don't need threads, you can use fork() for that. On *nix systems it
> > is very fast, nearly as fast as threads and much safer to boot. And you
> > can already do forking in PHP via PCNTL
Ilia Alshanetsky wrote:
You don't need threads, you can use fork() for that. On *nix systems it
is very fast, nearly as fast as threads and much safer to boot. And you
can already do forking in PHP via PCNTL extension's pcntl_fork() function.
Ilia
That sounds sufficient enough. Although I gues
Rasmus Lerdorf wrote:
Bart de Boer wrote:
Are there any future (or current) plans for multithreading in PHP?
There are no plans for this. Asynchronous mechanisms are generally a
much more efficient way to do this stuff.
-Rasmus
With asynchronous I'm asuming you mean mechanisms where you
You don't need threads, you can use fork() for that. On *nix systems it
is very fast, nearly as fast as threads and much safer to boot. And you
can already do forking in PHP via PCNTL extension's pcntl_fork() function.
Ilia
--
PHP Internals - PHP Runtime Development Mailing List
To unsubscribe,
Bart de Boer wrote:
Dear PHP creators,
I was wondering. (And I'm probably the 1000th person asking this.) With
all the multiple-core processors and servers popping up lately, are
there any future (or current) plans for multithreading in PHP?
It's not unlikely to have a PHP script that, for e
17 matches
Mail list logo