Re: [PHP] PHP Threading on Windows

2012-09-14 Thread Adam Richardson
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

Re: [PHP] PHP Threading on Windows

2012-09-14 Thread Joe Watkins
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

Re: [PHP] PHP Threading on Windows

2012-09-14 Thread Joe Watkins
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

Re: [PHP] PHP Threading on Windows

2012-09-13 Thread tamouse mailing lists
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

[PHP] PHP Threading on Windows

2012-09-13 Thread admin
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

Re: [PHP] Threading

2007-06-20 Thread Richard Heyes
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

[PHP] Threading

2007-06-20 Thread Darren Whitlen
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

[PHP] Threading under win32

2004-06-18 Thread Simon Fredriksson
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

Re: [PHP] Threading & PHP

2004-01-26 Thread Mark Charette
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,

Re: [PHP] Threading & PHP

2004-01-25 Thread Galen
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

Re: [PHP] Threading & PHP

2004-01-25 Thread Galen
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

Re: [PHP] Threading & PHP

2004-01-25 Thread Galen
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

Re: [PHP] Threading & PHP

2004-01-25 Thread Galen
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

Re: [PHP] Threading & PHP

2004-01-24 Thread Chris Shiflett
--- 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

Re: [PHP] Threading & PHP

2004-01-24 Thread Evan Nemerson
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

Re: [PHP] Threading & PHP

2004-01-24 Thread Mark Charette
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

Re: [PHP] Threading & PHP

2004-01-24 Thread Lucas Gonze
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

[PHP] Threading & PHP

2004-01-24 Thread Galen
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

Re: [PHP] Threading objects

2003-03-13 Thread alex
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 >>

Re: [PHP] Threading objects

2003-03-12 Thread Ernest E Vogelsinger
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

Re: [PHP] Threading objects

2003-03-12 Thread Rasmus Lerdorf
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

Re: [PHP] Threading objects

2003-03-12 Thread Kris
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]>

Re: [PHP] Threading objects

2003-03-12 Thread Rasmus Lerdorf
> 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

Re: [PHP] Threading objects

2003-03-12 Thread Mirek Novak
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);

Re: [PHP] Threading objects

2003-03-12 Thread Mincu Alexandru
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

Re: [PHP] Threading objects

2003-03-12 Thread Kris
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

Re: [PHP] Threading objects

2003-03-12 Thread W. Enserink
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

[PHP] Threading objects

2003-03-12 Thread Kris
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);

[PHP] Threading

2003-03-11 Thread Kris
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

[PHP] Re: [PHP-DEV] Re: [PHP] Threading

2003-02-27 Thread Braulio José Solano Rojas
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

Re: [PHP] Threading

2003-02-22 Thread Joshua Moore-Oliva
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

Re: [PHP] Threading

2003-02-22 Thread Steve Vernon
]> 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

[PHP] Re: [PHP-DEV] Re: [PHP] Threading

2003-02-18 Thread Rasmus Lerdorf
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

Re: [PHP] Threading

2003-02-18 Thread Greg Donald
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

[PHP] Threading

2003-02-18 Thread Bruce Miller
Will PHP allow multiple-thread execution? -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Threading code

2001-04-09 Thread Richard Scott Crawford
;>>>>>>>>>>>>>> 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

Re: [PHP] Threading code

2001-04-09 Thread Joe Stump
'%foo%' last time I checked) was the reason I didn't go with it. --Joe > > > >>>>>>>>>>>>>>>>>> Original Message <<<<<<<<<<<<<<<<<< > > On 4/9/01, 11:12:

Re: [PHP] Threading code

2001-04-09 Thread Richard Scott Crawford
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

Re: [PHP] Threading code

2001-04-09 Thread Matt Friedman
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

Re: [PHP] Threading code

2001-04-09 Thread Joe Stump
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

[PHP] Threading code

2001-04-09 Thread Ashley M. Kirchner
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