|Classes of akash||>||PHP parallel programming||>||Download .zip .tar.gz||>||Support forum (2)||>||Blog||>||Latest changes|
|PHP 5||Classes using PHP 5 specific features||View top rated classes|
|Language||Constructs to assist in the language control||View top rated classes|
|Some tasks require the execution of lengthy procedures many times.
Often, a better approach to execute such procedures in less time is to start parallel threads that execute parts of the procedures.
PHP can start parallel processes using the pcntl extension, which only works on Linux/Unix-like systems.
This class provides an alternative solution for starting and managing parallel PHP scripts. It uses a separate program written in C++. This program comes in versions for Linux/Unix and Windows.
It is also able to control the execution of the parallel PHP scripts and can capture their output.
|Not yet rated by the users|
|Applications that use this class|
|bin (3 files, 1 directory)|
|AsynchronousForker.php||Example||script to handle asynchronous forking|
|Forker.php||Class||singelton class for a forker|
|ForkerInit.inc.php||Class||file to be included in all the scripts to be run in parallel|
|ForkerManager.inc.php||Class||main library handler|
|temp.txt||Output||directory which store all the intermediate files|
|asynchronous-forker.php||Example||run to test asynchronous forker|
|asynchronous-output.php||Example||check asynchronous forker run output|
|log.txt||Output||log file to check parallel execution|
|sleep.php||Class||file rn as worker for parallel process|
|synchronous-forker.php||Class||run to test synchronous forker|