Innovation Award
 March 2005
Number 2 |
Many sites need to run background tasks to execute the jobs that are important for their operation, like for instance, process incoming e-mail, deliver newsletters and other kinds of mailings, monitor the usage of resources, cleanup or backup information, etc..
Some background tasks need to run continually in order to provide a prompt response to events that may happen anytime. Under Linux and other Unix-like systems the programs that run continually to perform this kind of tasks are called daemons.
This class simplifies the creation and management of daemon processes making them work like common Unix daemon programs by, among other things, storing the daemon process in a file and cleanup and exit when receiving the termination signal.
Manuel Lemos |
This package provides a base class that can create and manage daemon processes on Linux or other Unix-like systems.
This base class can fork the current process and store the child process identifier in a pid file. The forked process enters an infinite loop executing its job until it receives a termination signal.
The base class is not useful by itself. It needs to be derived to implement daemon job as a function of the sub-class. A daemon job subclass is provided as an example.
| Ratings | Utility |
Consistency |
Documentation |
Examples |
Tests |
Videos |
Overall |
Rank |
| All time: |
Good (88.9%) |
Good (80.6%) |
- |
Sufficient (75.0%) |
- |
- |
Sufficient (60.0%) |
696 |
| Month: |
Not yet rated by the users |
No application links were specified for this class.
 If you know an application of this package, send a message to the author to add a link here.
|
|