Login   Register  
PHP Classes
elePHPant
Icontem

Threading

Recommend this page to a friend!
Stumble It! Stumble It! Bookmark in del.icio.us Bookmark in del.icio.us

  Author  
Picture of Alex B. Snet
Name: Alex B. Snet is available for providing paid consulting. Contact Alex B. Snet .
Packages: 6 Browse all classes by Alex B. Snet Browse all classes by
Country: Russian Federation Russian Federation - PHP jobs in Russian Federation
Age: 23
All time rank: 3416 in Russian Federation Russian Federation
Week rank: 235 Up5 in Russian Federation Russian Federation Up
Innovation award
Innovation award
Nominee: 3x


  Detailed description   Download .zip .tar.gz  
This class can be used to create parallel processes with the PHP CLI program.

It can start parallel processes by running the PHP CLI program in the background for each new process.

The new process is set to run a given PHP script. Variable values are passed to the new process using temporary files.

  Classes of Alex B. Snet  >  Threading  >  Download .zip .tar.gz  >  Support forum Support forum  >  Blog Blog  >  RSS 1.0 feed RSS 2.0 feed Latest changes  
Name: Threading
Base name: threading-wo-pcntl
Description: Create parallel processes with the PHP CLI program
Version: 0.1.9
PHP version: 5.1.2
License: GNU General Public License (GPL)
All time users: 1325 users
All time rank: 2566
Week users: 3 users
Week rank: 923 Up
 
  Groups   Screenshots Screenshots   Rate classes User ratings  
  Applications   Related links   Files Files  

  Groups  
Group folder image PHP 5 Classes using PHP 5 specific features View top rated classes
Group folder image Unix Use of capabilities specific of POSIX, Unix like operating systems View top rated classes
Group folder image Language Constructs to assist in the language control View top rated classes

  Files folder image Screenshots  
Screenshot
File Role Description
Accessible without login Image file shot.png Screen Screenshot


  Innovation Award  
PHP Programming Innovation award nominee
October 2008
Number 4

Prize: One book of choice by O'Reilly
In PHP you can use the pcntl extension to create parallel processes that run multiple PHP tasks simultaneously.

However, when available, the pcntl extension only runs under UNIX/Linux systems.

This class provides an alternative to run parallel processes in PHP without depending on the pcntl extension. It uses the PHP CLI program to start new parallel processes.

Manuel Lemos

  User ratings  
Ratings
Utility
Consistency
Documentation
Examples
Tests
Videos
Overall
Rank
All time:
Good (91.7%)
Good (91.7%)
-
Sufficient (66.7%)
-
-
Sufficient (61.7%)
728
Month:
There are not enough user ratings to display for this class.

  Applications that use this class  
No application links were specified for this class.
Add link image If you know an application of this package, send a message to the author to add a link here.

  Related links  
Link Description
Alex's blog Alex Snet write all his minds in personal blog.

  Files folder image Files  
File Role Description
Plain text file application.class.php Class This class
Plain text file example.php Example Example script

Download all files: threading-wo-pcntl.tar.gz threading-wo-pcntl.zip
NOTICE: if you are using a download manager program like 'GetRight', please Login before trying to download this archive.