Login   Register  
PHP Classes
elePHPant
Icontem

Power Process: Create processes to PHP code 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 (18)   DownloadInstall with Composer Download .zip   Reputation   Support forum (2)   Blog    
Last Updated Ratings Unique User Downloads Download Rankings  
2012-01-11 (2 years ago) RSS 2.0 feedNot enough user ratingsTotal: 274 All time: 6,754 This week: 1,459Up
Version License PHP version Categories  
power-process 2.0MIT/X Consortium License5.3PHP 5, Unix, Language
Description Author  

This class can create processes to PHP code in parallel.

It can fork new processes with pcntl extension and return the information on whether the current script is running the parent or the just created child process.

The forked processes can be made to run as standalone daemons.

The class can send POSIX signals to the child processes eventually to make them exit. Callback functions may be registered to handle those signals.

The class can also execute separate programs in the context of the current process.

Picture of Don Bauer
Name: Don Bauer <contact>
Classes: 3 packages by
Country: United States United States
Age: 28
All time rank: 2637332 in United States United States
Week rank: 1096 Up110 in United States United States Up

  Files folder image Files  
File Role Description
Files folder imagedocs (7 files, 3 directories)
Files folder imageexamples (3 files)
Accessible without login Plain text file LICENSE Lic. License text
Plain text file PowerProcess.class.php Class Class source
Accessible without login Plain text file README Doc. Documentation

  Files folder image Files  /  docs  
File Role Description
Files folder imagemedia (2 files)
Files folder imagePowerProcess (2 files)
Files folder image__filesource (1 file)
  Accessible without login HTML file blank.html Doc. Documentation
  Accessible without login HTML file classtrees_PowerProcess.html Doc. Documentation
  Accessible without login HTML file elementindex.html Doc. Documentation
  Accessible without login HTML file elementindex_PowerProcess.html Doc. Documentation
  Accessible without login HTML file index.html Doc. Documentation
  Accessible without login HTML file li_PowerProcess.html Doc. Documentation
  Accessible without login HTML file packages.html Doc. Documentation

  Files folder image Files  /  docs  /  media  
File Role Description
  Accessible without login Plain text file banner.css Data Auxiliary data
  Accessible without login Plain text file stylesheet.css Data Auxiliary data

  Files folder image Files  /  docs  /  PowerProcess  
File Role Description
  Accessible without login HTML file PowerProcess.html Doc. Documentation
  Accessible without login HTML file _PowerProcess.class.php.html Doc. Documentation

  Files folder image Files  /  docs  /  __filesource  
File Role Description
  Accessible without login HTML file fsource_PowerProce...cess.class.php.html Doc. Documentation

  Files folder image Files  /  examples  
File Role Description
  Accessible without login Plain text file example.deamon.php Example Example script
  Accessible without login Plain text file example.namedThreads.php Example Example script
  Accessible without login Plain text file example.normal.php Example Example script

 Version Control Unique User Downloads Download Rankings  
 100%Total:274All time:6,754
 This week:0This week:1,459Up
 User Comments (2)