Reply to Re: PHP Threading

Your name:

Reply:


Posted by Benjamin on 05/21/07 02:27

On May 20, 8:55 pm, Jerry Stuckle <jstuck...@attglobal.net> wrote:
> Graham Weldon wrote:
> > Has anyone got any information or links for some tutorials on threading
> > with PHP?
> > I was looking at running a socket listener, and launch off new threads,
> > and co-ordinate as requests come in.
>
> > Cheers,
> > Graham
>
> Graham,
>
> The PHP cli doesn't support multithreading. You can get multiple
> threads if you're running as an Apache or IIS extension and the
> webserver is running multiple threads, but that's all.
That's not completely true. You can the Process Control Functions
(http://www.php.net/manual/en/ref.pcntl.php). However, they're only
avaible on Unix like systems.
>
> --
> ==================
> Remove the "x" from my email address
> Jerry Stuckle
> JDS Computer Training Corp.
> jstuck...@attglobal.net
> ==================

[Back to original message]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация