PHP Classes
elePHPant
Icontem

Multi Threaded Daemon: Manage the execution of parallel threads

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 (3)   DownloadInstall with Composer Download .zip   Reputation   Support forum (1)   Blog    
Last Updated Ratings Unique User Downloads Download Rankings  
2007-10-19 (7 years ago) RSS 2.0 feedNot yet rated by the usersTotal: 1,236 This week: 1All time: 2,905 This week: 1,176Up
Version License PHP version Categories  
multithreadeddaemon 1.0GNU General Publi...5Unix
Description Author  

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.

Picture of Killerwhile
Name: Killerwhile <contact>
Classes: 1 package by
Country: Switzerland Switzerland
Age: 34
All time rank: 192321 in Switzerland Switzerland
Week rank: 928 Up13 in Switzerland Switzerland Up

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

  Files folder image Files  /  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

 Version Control Unique User Downloads Download Rankings  
 0%Total:1,236All time:2,905
 This week:1This week:1,176Up