programming experience
is rather limited.
Thanks
Kris
- Original Message -
From: Rasmus Lerdorf [EMAIL PROTECTED]
To: Kris [EMAIL PROTECTED]
Cc: W. Enserink [EMAIL PROTECTED]; PHP List
[EMAIL PROTECTED] Sent: Thursday, March 13, 2003 1:04 AM
Subject: Re: [PHP] Threading objects
All
i'm not sure what you want. But you have created objects here in $a,$b and
$c.
If you want to order them in a special way you have to write the
functionality of course. I think you have to do this before the object is
created because you define the variables 10,5,1 before the objects are
created.
[EMAIL PROTECTED]; PHP List [EMAIL PROTECTED]
Sent: Wednesday, March 12, 2003 9:29 PM
Subject: Re: [PHP] Threading objects
i'm not sure what you want. But you have created objects here in $a,$b and
$c.
If you want to order them in a special way you have to write the
functionality of course. I
I think that he wants a function that acts like steTimeout(..) in
JavaScript ex:
code
setTimeout('alert('tst2')',5000);
setTimeout('alert('tst1')',4000);
/code
When you exec this code in js the first alert that is executed is tst1
and then tst2.
I don't know if you can do this in php without using
Kris wrote:
I want to be able to thread objects. I'm not really sure at all where to
start. but I want a script where multiple objects are being processed at the
same time.
I have an example php script
?
$a = new sleeper();
$b = new sleeper();
$c = new sleeper();
$a-sleepFor(10);
$b-sleepFor(5);
All I'm really asking is how do you initiate threading with PHP?
A small example would be nice
You don't. This is a web scripting language, not Java.
-Rasmus
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
programming experience is
rather limited.
Thanks
Kris
- Original Message -
From: Rasmus Lerdorf [EMAIL PROTECTED]
To: Kris [EMAIL PROTECTED]
Cc: W. Enserink [EMAIL PROTECTED]; PHP List [EMAIL PROTECTED]
Sent: Thursday, March 13, 2003 1:04 AM
Subject: Re: [PHP] Threading objects
All I'm
.
Thanks
Kris
- Original Message -
From: Rasmus Lerdorf [EMAIL PROTECTED]
To: Kris [EMAIL PROTECTED]
Cc: W. Enserink [EMAIL PROTECTED]; PHP List [EMAIL PROTECTED]
Sent: Thursday, March 13, 2003 1:04 AM
Subject: Re: [PHP] Threading objects
All I'm really asking is how do you
At 23:23 12.03.2003, Kris said:
[snip]
Is it possible to some how thread a php script threw apache. There has to be
something you can do, it seems there is always something you can do :)
What I want is the following.
I administer a mailing list that has a
9 matches
Mail list logo