On Fri, Sep 14, 2012 at 9:40 PM, Joe Watkins wrote:
> https://github.com/krakjoe/pthreads
>
> Windows Download on downloads page, it's a couple of days behind. Keep
> watching ... enough to get you started ...
That's pretty slick, Joe. Nice work!
Adam
--
Nephtali: A simple, flexible, fast, an
working on a project
that (forks) processes off to another instance or service of PHP on windows
please let me know.
In some of my latest development I have some rather large processes that
consume the single instance of PHP, threading these off would be ideal.
Example:
$tmpsrv=win32_query
working on a project
that (forks) processes off to another instance or service of PHP on windows
please let me know.
In some of my latest development I have some rather large processes that
consume the single instance of PHP, threading these off would be ideal.
Example:
$tmpsrv=win32_query
t
> that (forks) processes off to another instance or service of PHP on windows
> please let me know.
> In some of my latest development I have some rather large processes that
> consume the single instance of PHP, threading these off would be ideal.
>
> Example:
> $tmpsrv=win32_query =w
please let me know.
In some of my latest development I have some rather large processes that
consume the single instance of PHP, threading these off would be ideal.
Example:
$tmpsrv=win32_query =win32_create_service(array(
'params' => __FILE__." install",
'serv
I've done a fair bit of research on threads in PHP in the past, but
coming up to the conclusion that there is no way to have real multi
threading in PHP.
There's no way full stop.
> Would anybody here know of any way to use threads in PHP that I may
> have missed? I'm hoping to find a way that
I'm currently creating a socket cerver class, similar to Twisted for
python. I have a simple socket server working now, but would like to
extend it using threads.
I've done a fair bit of research on threads in PHP in the past, but
coming up to the conclusion that there is no way to have real m
I'd like to know if there is any way to thread code in PHP under
Windows. I need to write to two or more streams at the same time. It's
not crucial that they are exactly synced, but I can't wait for one
stream to finish and then let the other do the same. They have to be
somewhat synced anyways
On Sun, 25 Jan 2004, Galen wrote:
> I'm not 100% sure what you're talking about, to be honest. I think I'm
> in the second half of the people... :)
>
> As far as I can tell, Apache runs as many processes (httpd) as needed
> on my local machine. As far as my server, I haven't seen this behavior,
I'm not 100% sure what you're talking about, to be honest. I think I'm
in the second half of the people... :)
As far as I can tell, Apache runs as many processes (httpd) as needed
on my local machine. As far as my server, I haven't seen this behavior,
but I admit I don't sit there watching top
Sorry, no-can-do. No root access - it's a lightly loaded shared
machine. No Apache 2. Other ideas?
Full info at:
http://zinkconsulting.com/phpinfo.php
-Galen
On Jan 24, 2004, at 6:16 PM, Chris Shiflett wrote:
--- Galen <[EMAIL PROTECTED]> wrote:
This may be completely crazy, but let me tell you
Looks great, except it's not setup on my remote host. I have SSH, FTP,
etc access but I do not administrate the system nor can I request
something like recompiling PHP just for me.
You can see for yourself:
http://zinkconsulting.com/phpinfo.php
Any other ideas?
-Galen
On Jan 24, 2004, at 12:19
Interesting idea. I feel rather unintelligent for not thinking of that,
but it would solve my second application for threading - big tasks I
don't want the user to wait around to finish like image compression and
storage. Excellent suggestion.
Unfortunately, my first application for threading w
--- Galen <[EMAIL PROTECTED]> wrote:
> This may be completely crazy, but let me tell you what I want to do:
> thread PHP.
If you use PHP as an Apache module, you can use Apache 2, which has
threading. Just make sure any extension you use is thread-safe.
Chris
=
Chris Shiflett - http://shifl
php.net/pcntl
cvs.php.net/cvs.php/pecl/threads
On Saturday 24 January 2004 03:24 pm, Galen wrote:
> Hi,
>
> This may be completely crazy, but let me tell you what I want to do:
> thread PHP.
>
> My server is a dual-processor 2 GHz machine, and it's not very loaded.
> I have a few tasks that are h
On Sat, 24 Jan 2004, Galen wrote:
> Hi,
>
> This may be completely crazy, but let me tell you what I want to do:
> thread PHP.
Can you set processor affinity on your system? If so, you can "pseudo
thread" by assigning processes to different CPUs; e.g., run your main
Webserver on one processo
One possibility is to have the code which first receives the request
split it up into subrequests and do HTTP requests for the subrequests.
Whether that makes sense depends on whether the overhead of an HTTP
transaction is a big part of the execution time of the subrequests.
- Lucas
On Saturd
Hi,
This may be completely crazy, but let me tell you what I want to do:
thread PHP.
My server is a dual-processor 2 GHz machine, and it's not very loaded.
I have a few tasks that are huge and lengthy and would benefit from
being placed in their own "thread" if you will. This would serve to
e
gt;
> 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 initiate threading with PHP? A
>>
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
my web programming experience is
> rather limited.
>
> Thanks
>
> Kris
>
>
>
> - Original Message -
> From: "Rasmus Lerdorf" <[EMAIL PROTECTED]>
> To: "Kris" <[EMAIL PROTECTED]>
> Cc: "W. Enserink" <[EMAIL P
y web 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]>
> 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
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);
regular,ordinary variables. further on.
>
> hope it helped,
>
> Wilbert
>
> - Original Message -
> From: "Kris" <[EMAIL PROTECTED]>
> To: "PHP List" <[EMAIL PROTECTED]>
> Sent: Wednesday, March 12, 2003 12:18 PM
> Subj
t;[EMAIL PROTECTED]>
To: "Kris" <[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 w
l Message -
From: "Kris" <[EMAIL PROTECTED]>
To: "PHP List" <[EMAIL PROTECTED]>
Sent: Wednesday, March 12, 2003 12:18 PM
Subject: [PHP] Threading objects
> I want to be able to thread objects. I'm not really sure at all where to
> start. but I want a
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
sleepFor(10);
$b->sleepFor(5);
$c->sleepFor(1);
class sleeper {
function sleepFor($num) {
sleep($num);
I want to be able to thread objects .I'm not really sure at all where to start.
I have an example php script
sleepFor(10);
$b->sleepFor(5);
$c->sleepFor(1);
class sleeper {
function sleepFor($num) {
sleep($num);
echo "sorry I was a sleep for $num \r\n";
}
}
?>
I want so object $c would
Hi!
"Rasmus Lerdorf" <[EMAIL PROTECTED]> escribió en el mensaje
news:[EMAIL PROTECTED]
> On Tue, 18 Feb 2003, Greg Donald wrote:
> > On Tue, 18 Feb 2003, Bruce Miller wrote:
> >
> > >Will PHP allow multiple-thread execution?
> >
> > PHP4 does not have thread support.
>
> Well, except for pear/PECL
HP script that takes ages, but wont affect he initial script
> ending?
>
> Steve
> - Original Message -
> From: "Greg Donald" <[EMAIL PROTECTED]>
> To: "Bruce Miller" <[EMAIL PROTECTED]>
> Cc: <[EMAIL PROTECTED]>; <[EMAIL PROTEC
]>
To: "Bruce Miller" <[EMAIL PROTECTED]>
Cc: <[EMAIL PROTECTED]>; <[EMAIL PROTECTED]>
Sent: Tuesday, February 18, 2003 8:03 PM
Subject: Re: [PHP] Threading
> On Tue, 18 Feb 2003, Bruce Miller wrote:
>
> >Will PHP allow multiple-thread execution?
>
> PH
On Tue, 18 Feb 2003, Greg Donald wrote:
> On Tue, 18 Feb 2003, Bruce Miller wrote:
>
> >Will PHP allow multiple-thread execution?
>
> PHP4 does not have thread support.
Well, except for pear/PECL/threads, of course.
-Rasmus
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, vi
On Tue, 18 Feb 2003, Bruce Miller wrote:
>Will PHP allow multiple-thread execution?
PHP4 does not have thread support.
--
Greg Donald
http://destiney.com
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Will PHP allow multiple-thread execution?
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
;>>>>>>>>>>>>>> Original Message <<<<<<<<<<<<<<<<<<
On 4/9/01, 11:11:44 AM, Joe Stump <[EMAIL PROTECTED]> wrote regarding Re:
[PHP] Threading code:
> > Phorum is indeed a good product. And
'%foo%'
last time I checked) was the reason I didn't go with it.
--Joe
>
>
> >>>>>>>>>>>>>>>>>> Original Message <<<<<<<<<<<<<<<<<<
>
> On 4/9/01, 11:12:
l Message <<<<<<<<<<<<<<<<<<
On 4/9/01, 11:12:39 AM, "Matt Friedman" <[EMAIL PROTECTED]> wrote regarding Re:
[PHP] Threading code:
> Check out: http://www.phorum.org/
> We use phorum at: http://www.theparentreport.com
ons.
Matt Friedman
Spry New Media
http://www.sprynewmedia.com
- Original Message -
From: "Ashley M. Kirchner" <[EMAIL PROTECTED]>
To: "PHP-General List" <[EMAIL PROTECTED]>
Sent: Monday, April 09, 2001 10:57 AM
Subject: [PHP] Threading code
>
> D
You should check into forums ...
--Joe
On Mon, Apr 09, 2001 at 11:57:45AM -0600, Ashley M. Kirchner wrote:
>
> Does anyone have 'plug-in' message threading code? I see several
> PHP sites with some sort of message threading going on, and I'd hate to
> reinvent the wheel. I'd like to have
Does anyone have 'plug-in' message threading code? I see several
PHP sites with some sort of message threading going on, and I'd hate to
reinvent the wheel. I'd like to have that type of ability built into a
project I'm working on.
AMK4
--
W |
| I haven't lost my mind; it's backed
41 matches
Mail list logo