Lib/Task/TaskProcess.php
protected function _terminate($timeout = 10, $signal = /* SIGTERM */ 15) {
		foreach ($this->_getPidRecursive($this->getPid()) as $pid) {
			posix_kill($pid, $signal);
		}
		parent::stop($timeout, $signal);
	}
protected function _terminate($timeout = 10, $signal = /* SIGTERM */ 15) {
		foreach ($this->_getPidRecursive($this->getPid()) as $pid) {
			posix_kill($pid, $signal);
		}
		parent::stop($timeout, $signal);
	}
protected function _terminate ( $ timeout = 10 , $ signal = /* SIGTERM */ 15 ) { foreach ( $ this -> _getPidRecursive ( $ this -> getPid ( ) ) as $ pid ) { posix_kill ( $ pid , $ signal ) ; } parent :: stop ( $ timeout , $ signal ) ; }
Terminate current process

@param int $timeout
@param int $signal
Terminate current process