protected function pcntlSignalSetup()
  { 
    if (function_exists('pcntl_signal')) {
      pcntl_signal(SIGHUP, array($this,'exitSignalHandler') );// kill -HUP
      pcntl_signal(SIGTERM, array($this,'exitSignalHandler') );// kill
      pcntl_signal(SIGINT, array($this,'exitSignalHandler') );// CTRL-C
      $this->pcntl_enabled=true;
      // pre 5.3 fallback
      if (!function_exists('pcntl_signal_dispatch')) {
        $this->pcntl_emulate_dispatch=true;
      }
      $this->debugLog('pcntlSignalSetup: signal handling enabled');
    }
  }