PHP Classes

Multi Threaded Daemon: Manage the execution of parallel threads

Recommend this page to a friend!
  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 (9 years ago) RSS 2.0 feedNot enough user ratingsTotal: 1,266 All time: 2,920 This week: 558Up
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: 35
All time rank: 194922 in Switzerland Switzerland
Week rank: 1549 Up14 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  
This week:0
All time:2,920
This week:558Up