Login   Register  
PHP Classes
elePHPant
Icontem

PTM: Manage PHP tasks running in parallel processes

Recommend this page to a friend!
Stumble It! Stumble It! Bookmark in del.icio.us Bookmark in del.icio.us
  Info   Screenshots Screenshots   View files View files (15)   DownloadInstall with Composer Download .zip   Reputation   Support forum (2)   Blog    
Last Updated Ratings Unique User Downloads Download Rankings  
2012-07-27 (2 years ago) RSS 2.0 feedNot enough user ratingsTotal: 291 All time: 6,586 This week: 1,512Up
Version License PHP version Categories  
ptm 2.2GNU General Public Lice...5.3PHP 5, Unix, Language
Description Author  

This class can manage PHP tasks running in parallel processes.

It can fork the current process to run one or more parallel processes that execute given PHP code.

The class can also do other operations like checking if a task is still running, remove a task, exchange data between tasks.

It requires the pcntl extension, so it only runs on Linux and other Unix-like operating systems.

Picture of Sildaekar Decrura
Name: Sildaekar Decrura <contact>
Classes: 2 packages by
Country: United States United States
Age: 24
All time rank: 2443303 in United States United States
Week rank: 1737 Up203 in United States United States Up

Screenshots  
  • Flowchart.jpg
  Files folder image Files  
File Role Description
Files folder imagedocs (5 files)
Files folder imagetaskmanager (3 files, 1 directory)
Accessible without login Plain text file example.php Example Example 1
Accessible without login Plain text file example2.php Example Example 2
Accessible without login Plain text file example3.php Example Example 3
Accessible without login Plain text file example4.php Example Example 4
Accessible without login Plain text file example5.php Example Example 5

  Files folder image Files  /  docs  
File Role Description
  Accessible without login Plain text file changelog.txt Doc. Changelog
  Accessible without login Plain text file CreatingaTask.txt Doc. Creating a Task
  Accessible without login Image file Flowchart.jpg Photo Flowchart
  Accessible without login Plain text file ReadMe.txt Doc. ReadMe File
  Accessible without login Plain text file Usage.txt Doc. Usage

  Files folder image Files  /  taskmanager  
File Role Description
Files folder imagetasks (2 files)
  Accessible without login Plain text file container.php Aux. Container
  Plain text file manager.task.php Class Task Manager
  Plain text file worker.task.php Class Worker

  Files folder image Files  /  taskmanager  /  tasks  
File Role Description
  Accessible without login Plain text file helloworld.task.php Example Hello World Task
  Accessible without login Plain text file helloworld2.task.php Example Hello World 2 Task

 Version Control Unique User Downloads Download Rankings  
 0%Total:291All time:6,586
 This week:0This week:1,512Up
 User Comments (1)  
 
5 examples are empty screens for output
2 years ago (synthetron)
35%StarStar