PHP Classes

Threader: Run multiple PHP scripts in parallel

Recommend this page to a friend!
  Info   View files View files (2)   DownloadInstall with Composer Download .zip   Reputation   Support forum (4)   Blog    
Ratings Unique User Downloads Download Rankings
StarStarStarStar 64%Total: 1,412 All time: 2,760 This week: 660Up
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: 191525 in Argentina Argentina
Week rank: 275 Up4 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,412
This week:0
All time:2,760
This week:660Up
User Ratings User Comments (2)
 All time
Utility:91%StarStarStarStarStar
Consistency:91%StarStarStarStarStar
Documentation:-
Examples:91%StarStarStarStarStar
Tests:-
Videos:-
Overall:64%StarStarStarStar
Rank:736
 
Very good and interesting class .
15 years ago (Josť Filipe Lopes Santos)
70%StarStarStarStar
Excellent implementation! I've been trying to write something...
15 years ago (Adam McHugh)
70%StarStarStarStar