PHP Classes
elePHPant
Icontem

Threader: Run multiple PHP scripts in parallel

Recommend this page to a friend!
Stumble It! Stumble It! Bookmark in del.icio.us Bookmark in del.icio.us
  Info   View files View files (2)   DownloadInstall with Composer Download .zip   Reputation   Support forum (4)   Blog    
Last Updated Ratings Unique User Downloads Download Rankings  
2009-03-11 (6 years ago) RSS 2.0 feedStarStarStarStar 70%Total: 1,376 This week: 1All time: 2,678 This week: 1,076Up
Version License PHP version Categories  
threader_class 1.0GNU General Publi...5PHP 5, Language
Description Author  

This class can be used to run multiple PHP scripts in parallel.

It uses the PHP proc_open function to run a given PHP script by starting a new copy of the PHP CLI version.

The class can pass the started PHP script given environment variables and retrieve the script output.

Picture of Nicolas Iglesias
Name: Nicolas Iglesias <contact>
Classes: 1 package by
Country: Argentina Argentina
Age: ???
All time rank: 181122 in Argentina Argentina
Week rank: 878 Up12 in Argentina Argentina Up

  Files folder image Files  
File Role Description
Accessible without login Plain text file example.php Example An example of usage of the Threader class.
Accessible without login Plain text file thread_class.php Class Main class

 Version Control Unique User Downloads Download Rankings  
 0%Total:1,376All time:2,678
 This week:1This week:1,076Up
User Ratings User Comments (2)  
 All time
Utility:100%StarStarStarStarStarStar
Consistency:100%StarStarStarStarStarStar
Documentation:-
Examples:100%StarStarStarStarStarStar
Tests:-
Videos:-
Overall:70%StarStarStarStar
Rank:204
 
Very good and interesting class .
6 years ago (Josť Filipe Lopes Santos)
70%StarStarStarStar
Excellent implementation! I've been trying to write something...
6 years ago (Adam McHugh)
70%StarStarStarStar