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 70%Total: 1,409 All time: 2,754 This week: 362Up
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: 190224 in Argentina Argentina
Week rank: 1022 Up10 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  
This week:0
All time:2,754
This week:362Up
User Ratings User Comments (2)
 All time
Very good and interesting class .
12 years ago (Josť Filipe Lopes Santos)
Excellent implementation! I've been trying to write something...
12 years ago (Adam McHugh)
For more information send a message to info at phpclasses dot org.