array ( 0 => 'index.php', 1 => 'PHP Manual', ), 'head' => array ( 0 => 'UTF-8', 1 => 'en', ), 'this' => array ( 0 => 'evloop.signal.php', 1 => 'EvLoop::signal', ), 'up' => array ( 0 => 'class.evloop.php', 1 => 'EvLoop', ), 'prev' => array ( 0 => 'evloop.run.php', 1 => 'EvLoop::run', ), 'next' => array ( 0 => 'evloop.stat.php', 1 => 'EvLoop::stat', ), 'alternatives' => array ( ), 'source' => array ( 'lang' => 'en', 'path' => 'reference/ev/evloop/signal.xml', ), ); $setup["toc"] = $TOC; $setup["toc_deprecated"] = $TOC_DEPRECATED; $setup["parents"] = $PARENTS; manual_setup($setup); ?>
(PECL ev >= 0.2.0)
EvLoop::signal — Creates EvSignal watcher object associated with the current event loop instance
$signum
,$callback
,$data
= null
,$priority
= 0
Creates EvSignal watcher object associated with the current event loop instance
All parameters have the same meaning as for EvSignal::__construct()
Returns EvSignal object on success