Sympa::Process(3Sympa) | sympa 6.2.40 | Sympa::Process(3Sympa) |
Sympa::Process - Process of Sympa
use Sympa::Process; my $process = Sympa::Process->instance; $process->init(pidname => 'sympa'); $process->daemonize; $process->fork;
Sympa::Process implements the class to handle process itself of Sympa software.
Once Sympa::Process is loaded, "SIGCHLD" signals are captured, and only defunct child processes invoked by fork() method are reaped.
Returns:
A new Sympa::Process instance, or undef for failure.
Parameters:
None.
Returns:
None.
Parameter:
Returns:
See "fork" in perlfunc.
Parameters:
None.
Returns:
0. Returns "-1" on failure.
Parameters:
Returns:
None.
Parameters:
Sympa::Process instance may have following attributes:
TBD.
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.
2020-12-10 | 6.2.40 |