Welcome to Dream.In.Code
Become a PHP Expert!

Join 149,998 PHP Programmers for FREE! Get instant access to thousands of PHP experts, tutorials, code snippets, and more! There are 1,351 people online right now. Registration is fast and FREE... Join Now!




Threading

 
Reply to this topicStart new topic

Threading

lilygrace
13 Dec, 2006 - 12:08 AM
Post #1

D.I.C Head
**

Joined: 17 Aug, 2005
Posts: 89


My Contributions
Is there any good tutorials out there about threading in PHP? thanks
User is offlineProfile CardPM
+Quote Post

eXceed69
RE: Threading
13 Dec, 2006 - 01:39 AM
Post #2

"Super Sentai Knight Of DawN"
Group Icon

Joined: 12 Nov, 2006
Posts: 682



Thanked: 1 times
Dream Kudos: 675
My Contributions
Hi, try the sites tutorials[click here]
User is offlineProfile CardPM
+Quote Post

snoj
RE: Threading
13 Dec, 2006 - 07:38 AM
Post #3

Fell off the face of the earth
Group Icon

Joined: 31 Mar, 2003
Posts: 3,325



Thanked: 9 times
Dream Kudos: 750
My Contributions
Threading...yeah...so far PHP only allows it on *nix environments, so I'd suggest to stay away from it unless you're using a *nix environment or are running your own webserver (like a vps or dedicated).

I'm not sure where to find decent threading tutorials for PHP, but you can check out the PHP documentation for those related functions. http://www.php.net/manual/en/ref.pcntl.php
User is offlineProfile CardPM
+Quote Post

Craige
RE: Threading
14 Dec, 2006 - 09:24 AM
Post #4

D.I.C Head
**

Joined: 2 Nov, 2006
Posts: 63


My Contributions
QUOTE(hotsnoj @ 13 Dec, 2006 - 08:38 AM) *

Threading...yeah...so far PHP only allows it on *nix environments, so I'd suggest to stay away from it unless you're using a *nix environment or are running your own webserver (like a vps or dedicated).

I'm not sure where to find decent threading tutorials for PHP, but you can check out the PHP documentation for those related functions. http://www.php.net/manual/en/ref.pcntl.php


PHP does not support multi-threading. The closest you can get is with the link you gave, which is a library for forking processes, and catching the result on a call back (or waiting for return result). This however is not multi-threading.
User is offlineProfile CardPM
+Quote Post

Fast ReplyReply to this topicStart new topic
Time is now: 1/8/09 08:20PM

Be Social

Dream.In.Code RSS Feed Dream.In.Code LinkedIn Group Follow Us On Twitter

Live PHP Help!

PHP Tutorials

Reference Sheets

PHP Snippets

DIC Chatroom

Bye Bye Ads

Monthly Drawing

Thumb Drive

Top Contributors

Top 10 Kudos This Month