private function init($force = false)
    {
        if (!function_exists('pcntl_signal') || ($this->initialized && !$force)) {
            return;
        }
        $this->initialized = true;
        pcntl_signal(SIGCHLD, array($this, 'signalHandler'));
    }
private function init($force = false)
    {
        if (!function_exists('pcntl_signal') || ($this->initialized && !$force)) {
            return;
        }
        $this->initialized = true;
        pcntl_signal(SIGCHLD, array($this, 'signalHandler'));
    }
private function init ( $ force = false ) { if ( ! function_exists ( 'pcntl_signal' ) || ( $ this -> initialized && ! $ force ) ) { return ; } $ this -> initialized = true ; pcntl_signal ( SIGCHLD , array ( $ this , 'signalHandler' ) ) ; }
Initialize the signal handler.

Note: This will replace any current handler for SIGCHLD.

@param boolean $force Force initialization even if already initialized
Initialize the signal handler .