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    
Ratings Unique User Downloads Download Rankings
Not enough user ratingsTotal: 1,279 All time: 2,995 This week: 153Up
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: 41
All time rank: 202823 in Switzerland Switzerland
Week rank: 587 Up4 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,279
This week:0
All time:2,995
This week:153Up