Skip to Content.
Sympa Menu

Documentation for Sympa

NAME

Sympa::Process - Process of Sympa

SYNOPSIS

use Sympa::Process;
my $process = Sympa::Process->instance;
$process->init(pidname => 'sympa');

$process->daemonize;

$process->fork;

DESCRIPTION

Sympa::Process implements the class to handle process itself of Sympa software.

Signal handling

Once Sympa::Process is loaded, SIGCHLD signals are captured, and only defunct child processes invoked by fork() method are reaped.

Methods

Attributes

Sympa::Process instance may have following attributes:

Utility functions

HISTORY

Sympa::Tools::Daemon appeared on Sympa 6.2a.41.

Renamed Sympa::Process appeared on Sympa 6.2.12 and began to provide OO interface.

Sympa 6.2.13 introduced daemonize() method and {detached} attribute.

As of Sympa 6.2.14, SIGCHLD signal was captured and child processes were reaped immediately. reap_child() method (formerly reaper()) was deprecated.

Top of Page