Multi Threaded Daemon - enhanced is a class that implements a daemon that can spawn multiple parallel threads. It includes a sample app to monitor a "queue" directory on the filesystem, and spawns up to "N" child processes to parse individual files from it. It is an enhanced version of the original Multithreaded Daemon class written by Benoit Perroud. This version provides several robustness improvements, adds support for handling signals (SIGTERM, SIGHUP), and a unique PID file to avoid starting multiple instances.
|Tags||PHP 5 daemon threading|
|Licenses||GPL Public Domain|
|Operating Systems||Linux Unix|
Release Notes: Initial release.