Login   Register  
PHP Classes
elePHPant
Icontem

Class: Multi Threaded Daemon

Recommend this page to a friend!
Stumble It! Stumble It! Bookmark in del.icio.us Bookmark in del.icio.us
  Classes of Killerwhile  >  Multi Threaded Daemon  >  Download .tar.gz .zip  >  Support forum Support forum (1)  >  Blog Blog  >  RSS 1.0 feed RSS 2.0 feed Latest changes  
Name: Multi Threaded Daemon
Base name: multithreadeddaemon
Description: Manage the execution of parallel threads
Related classes: , , , , , , ,
Version: -
PHP version: 5
License: GNU General Public License (GPL)
All time users: 1028 users
All time rank: 2928
Week users: 2 users
Week rank: 1677
Picture of Killerwhile
Author: Killerwhile <e-mail contact>
Packages: 1 Browse this author's classes Browse this author's classes
Country: Switzerland Switzerland - PHP jobs in Switzerland
Age: 31
All time rank: 181320 in Switzerland Switzerland
Week rank: 1245 Up13 in Switzerland Switzerland Up


  Detailed description  
This class can be used to manage the execution of running multiple parallel tasks in PHP using the pcntl extension.

It can start a given number of parallel threads that execute code defined by functions of implementation sub-classes.

The main class can manage the execution of code in critical sections using locks to assure than only one thread executes critical section code at a time.

The class also manages the access to variables that are shared by threads running at the same time.

 

  Groups  
Group folder image Unix Use of capabilities specific of POSIX, Unix like operating systems View top rated classes

  Rate classes User ratings   Applications   Related links   Files Files  

  User ratings  
Not yet rated by the users

  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
PHP Multithreaded daemon PHP Multithread daemon's blog

  Files folder image Files  
File Role Description
Files folder imageinclude (2 files)
Plain text file example1.php Example Simple example 1

  Files  /  Files folder image include  
File Role Description
  Accessible without login Plain text file class.MTDaemon.php Class Main core class
  Plain text file class.MTLog.php Class Simple logging class

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