Multi Threading

PHP programming forum. Ask questions or help people concerning PHP code. Don't understand a function? Need help implementing a class? Don't understand a class? Here is where to ask. Remember to do your homework!

Moderator: General Moderators

Post Reply
kirank
Forum Newbie
Posts: 23
Joined: Thu Dec 03, 2009 2:19 am

Multi Threading

Post by kirank »

Hi, is there any way to implement simultaneous execution of programs (same or differnt) using php.

I am having a shared network, so i nede to know possible ways to implement partial threading. I know in PHP we cannot implement threading like java. I need a safe way to do this, and reduce the time for execution. I need to run the script cuncurrently.
So please advice me

Thanks
User avatar
AbraCadaver
DevNet Master
Posts: 2572
Joined: Mon Feb 24, 2003 10:12 am
Location: The Republic of Texas
Contact:

Re: Multi Threading

Post by AbraCadaver »

If you can be more specific we can help. Multiple copies of the same script? How are you executing the script (CLI)? Describe more of what you want to do.

-Shawn
mysql_function(): WARNING: This extension is deprecated as of PHP 5.5.0, and will be removed in the future. Instead, the MySQLi or PDO_MySQLextension should be used. See also MySQL: choosing an API guide and related FAQ for more information.
Post Reply