![]() |
![]()
| ![]() |
![]()
NAMESympa::Process - Process of Sympa SYNOPSISuse Sympa::Process; my $process = Sympa::Process->instance; $process->init(pidname => 'sympa'); $process->daemonize; $process->fork; DESCRIPTIONSympa::Process implements the class to handle process itself of Sympa software. Signal handlingOnce Sympa::Process is loaded, "SIGCHLD" signals are captured, and only defunct child processes invoked by fork() method are reaped. Methods
Returns: See "fork" in perlfunc.
Returns: None.
AttributesSympa::Process instance may have following attributes:
Utility functions
HISTORYSympa::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.
|