You are here: Re: Multitasking « PHP « IT news, forums, messages
Re: Multitasking

Posted by Bernhard Kraft on 01/20/05 17:44

puovils wrote:

> How to realize multitasking in PHP?
> P.S. http://www.php.net/declare is not multitasking.
>

To say it simply: There is no multitaskin in PHP4 or PHP5.

I had the same problem when I tried to implement a chat.

So I did it the bad way and used polling ... for the most
applications this is sufficient..

The only thing you could do to create some kind of multitaskin
is forking ... for this see the Process Control Functions ...

So you could create multiple instances of the actual process
and let them communicate via IPC ... but I think this just makes
sense for scripts executed from the commandline and not via apache.


greets,
Bernhard

 

Navigation:

[Reply to this 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

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