PHP Classes

Threader: Run multiple PHP scripts in parallel

Recommend this page to a friend!
     
  Info   View files Files   Install with Composer Install with Composer   Download Download   Reputation   Support forum   Blog    
Ratings Unique User Downloads Download Rankings
StarStarStarStar 64%Total: 1,412 All time: 2,761 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: 191625 in Argentina Argentina
Week rank: 170 Up3 in Argentina Argentina Up

  Files folder image Files (2)  
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

The PHP Classes site has supported package installation using the Composer tool since 2013, as you may verify by reading this instructions page.
Install with Composer Install with Composer
 Version Control Unique User Downloads Download Rankings  
 0%
Total:1,412
This week:0
All time:2,761
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:737
 
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