JApplicationDaemon::pcntlSignal
Method to install a signal handler.
Signature
protected function pcntlSignal(integer
$signal,
[callable
$handler = true,
[boolean
$restart = true]] )
Parameters
-
$signal
- The signal number.
-
$handler
- The signal handler which may be the name of a user created function,
-
$restart
- Specifies whether system call restarting should be used when this
Returns
- boolean
- True on success.